clang/test/Parser/cxx-declarator-attribute-crash.cpp
raw| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 | |
| 3 | // expected-error@+5{{brackets are not allowed here}} |
| 4 | // expected-error@+4{{a type specifier is required for all declarations}} |
| 5 | // expected-warning@+3{{unknown attribute 'h' ignored}} |
| 6 | // expected-error@+2{{definition of variable with array type}} |
| 7 | // expected-error@+1{{expected ';'}} |
| 8 | [][[h]]l |