[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / ext-int.cpp
blobe0132941a7a0d6bc052bbc5d9c086033454dabcc
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // expected-error@+5{{expected ')'}}
4 // expected-note@+4{{to match this '('}}
5 // expected-error@+3{{expected unqualified-id}}
6 // expected-error@+2{{extraneous closing brace}}
7 // expected-error@+1{{a type specifier is required for all declarations}}
8 _BitInt(32} a;
9 // expected-error@+2{{expected expression}}
10 // expected-error@+1{{a type specifier is required for all declarations}}
11 _BitInt(32* ) b;
12 // expected-error@+3{{expected '('}}
13 // expected-error@+2{{expected unqualified-id}}
14 // expected-error@+1{{a type specifier is required for all declarations}}
15 _BitInt{32} c;