| 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> |
| 7 | tuple(allocator_arg_t, const _Alloc&) {} |
| 8 | |
| 9 | // CHECK: 6 errors generated. |
| 10 |
| 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> |
| 7 | tuple(allocator_arg_t, const _Alloc&) {} |
| 8 | |
| 9 | // CHECK: 6 errors generated. |
| 10 |