llvm-for-llvmta/tools/clang/test/Parser/PR11000.cpp

10 lines
207 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -std=c++11 %s 2>&1 | FileCheck %s
// PR11000: Don't crash.
class tuple<>
{
template <class _Alloc>
tuple(allocator_arg_t, const _Alloc&) {}
// CHECK: 6 errors generated.