summaryrefslogtreecommitdiff
path: root/clang/test/Parser/PR11000.cpp
blob: 7dae99621bbb6d03cbf2b0773f5f2fc2a784d8a5 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %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.