view clang/test/Parser/PR11000.cpp @ 223:5f17cb93ff66 llvm-original

LLVM13 (2021/7/18)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:43:00 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: not %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.