Home | History | Annotate | Download | only in Parser
      1 // RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
      2 
      3 // CHECK: error: expected expression
      4 // CHECK: error: expected member name or ';' after declaration specifiers
      5 // CHECK: error: expected '}'
      6 // CHECK: note: to match this '{'
      7 // CHECK: error: expected ';' after class
      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 '<' token.
     12 
     13 template <typename T>
     14 class a {
     15   a<
     16