Home | History | Annotate | Download | only in Parser
      1 // RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
      2 
      3 // CHECK: error: expected member name or ';' after declaration specifiers
      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.
      9 
     10 // Do not add anything to the end of this file.  This requires the whitespace
     11 // plus EOF after the template keyword.
     12 
     13 class { template
     14