Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 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< |