Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Parser / cxx-declarator-attribute-crash.cpp
blob3b989a659db5691e8d0f639efad5b98db84d4ef5
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
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