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