repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Driver: tweak handling of '--analyze' to invoke
[clang.git]
/
test
/
Sema
/
short-enums.c
blob
6605c4e8fc0774640e5d147fb6538018f1f92c74
1
// RUN: not %clang_cc1 -fsyntax-only %s -verify
2
// RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify
3
4
enum
x
{
A
};
5
int
t0
[
sizeof
(
enum
x
) ==
1
?
1
: -
1
];