llvm-project
16 строк · 489.0 Байт
1// RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
2
3// CHECK: error: expected expression
4// CHECK: error: expected '>'
5// CHECK: error: expected member name or ';' after declaration specifiers
6// CHECK: error: expected '}'
7// CHECK: note: to match this '{'
8// CHECK: error: expected ';' after class
9// CHECK: 5 errors generated.
10
11// Do not add anything to the end of this file. This requires the whitespace
12// plus EOF after the '<' token.
13
14template <typename T>15class a {16a<17