xref: /aosp_15_r20/external/clang/test/Parser/PR11000.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: not %clang_cc1 -std=c++11 %s 2>&1 | FileCheck %s
2 
3 // PR11000: Don't crash.
4 class tuple<>
5 {
6     template <class _Alloc>
tuple(allocator_arg_t,const _Alloc &)7         tuple(allocator_arg_t, const _Alloc&) {}
8 
9 // CHECK: 6 errors generated.
10