[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / diag-crash.c
blob4f1265f2b9c35f4e2bdfb906e76361ea1a913f9a
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // Avoid preprocessor diag crash caused by a parser diag left in flight.
5 int foo: // expected-error {{expected ';' after top level declarator}}
6 #endif // expected-error {{#endif without #if}}