aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-declarator-attribute-crash.cpp
blob: 3b989a659db5691e8d0f639efad5b98db84d4ef5 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -verify %s

// expected-error@+5{{brackets are not allowed here}}
// expected-error@+4{{a type specifier is required for all declarations}}
// expected-warning@+3{{unknown attribute 'h' ignored}}
// expected-error@+2{{definition of variable with array type}}
// expected-error@+1{{expected ';'}}
[][[h]]l