Sign in
llvm
/
llvm-project
/
b83a4222b1ab5f4ddab19d83995a43646af56bfe
/
.
/
clang
/
test
/
Parser
/
diag-crash.c
blob: 4f1265f2b9c35f4e2bdfb906e76361ea1a913f9a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// Avoid preprocessor diag crash caused by a parser diag left in flight.
int
foo
:
// expected-error {{expected ';' after top level declarator}}
#endif
// expected-error {{#endif without #if}}