Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Parser / eof2.cpp
blob44e2b58bb6d1c21c6c6daaa5bdbe0ed491712093
1 // RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
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.
11 // Do not add anything to the end of this file. This requires the whitespace
12 // plus EOF after the '<' token.
14 template <typename T>
15 class a {
16 a<