Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
0678899e0d619df03eae2e2d43c3fe1fa958d03a
/
.
/
test
/
Sema
/
short-enums.c
blob: 6605c4e8fc0774640e5d147fb6538018f1f92c74 [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -fsyntax-only %s -verify
// RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify
enum
x
{
A
};
int
t0
[
sizeof
(
enum
x
)
==
1
?
1
:
-
1
];