[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Parser / eof.cpp
blob4a06587edea37828245e46ba8c17378c11eecd55
1 // RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
3 // CHECK: error: expected '<' after 'template'
4 // CHECK: error: expected '}'
5 // CHECK: note: to match this '{'
6 // CHECK: error: expected ';' after class
7 // CHECK: error: anonymous structs and classes must be class members
8 // CHECK: 4 errors generated.
10 // Do not add anything to the end of this file. This requires the whitespace
11 // plus EOF after the template keyword.
13 class { template