repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Parser
/
diag-crash.c
blob
4f1265f2b9c35f4e2bdfb906e76361ea1a913f9a
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
// Avoid preprocessor diag crash caused by a parser diag left in flight.
4
5
int
foo
:
// expected-error {{expected ';' after top level declarator}}
6
#endif
// expected-error {{#endif without #if}}