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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Parser
/
if-scope-c99.c
blob
63f82e0f7aa76c68f945717f7da955fb87ce8d9a
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c99 %s
2
3
int
f
(
int
z
)
4
{
5
if
(
z
> (
int
)
sizeof
(
enum
{
a
,
b
}))
6
return
a
;
7
return
b
;
// expected-error{{use of undeclared identifier}}
8
}