xref: /llvm-project/clang/test/Parser/PR11000.cpp (revision 925213b0fa3f9bbbe949326bb89a8d774c05994b)
1*925213b0SRafael Espindola // RUN: not %clang_cc1 -std=c++11 %s 2>&1 | FileCheck %s
21a526fd9SRichard Smith 
31a526fd9SRichard Smith // PR11000: Don't crash.
41a526fd9SRichard Smith class tuple<>
51a526fd9SRichard Smith {
61a526fd9SRichard Smith     template <class _Alloc>
tuple(allocator_arg_t,const _Alloc &)71a526fd9SRichard Smith         tuple(allocator_arg_t, const _Alloc&) {}
81a526fd9SRichard Smith 
91a526fd9SRichard Smith // CHECK: 6 errors generated.
10