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.