llvm-project
6 строк · 240.0 Байт
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3// Avoid preprocessor diag crash caused by a parser diag left in flight.
4
5int foo: // expected-error {{expected ';' after top level declarator}}6#endif // expected-error {{#endif without #if}}7