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
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
clang
/
test
/
Parser
/
captured-statements.c
blob
2993b3578fea8a607967423d935bea50e7ddc14f
1
// RUN: %clang_cc1 -verify %s
2
3
void
test1
(
void
)
4
{
5
#pragma clang __debug captured x
// expected-warning {{extra tokens at end of #pragma clang __debug captured directive}}
6
{
7
}
8
}
9
10
void
test2
(
void
)
11
{
12
#pragma clang __debug captured
13
int
x
;
// expected-error {{expected '{'}}
14
}