Sign in
ara-mdk
/
platform
/
external
/
clang
/
c7f811638f8603fa373d2be724e8b1c8ba51ad75
/
.
/
test
/
Sema
/
short-enums.c
blob: 9bf0064646a7cfe23cae2c8ad6e5a3e66c7b2e7b [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -fsyntax-only %s -verify
// RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify
// expected-no-diagnostics
enum
x
{
A
};
int
t0
[
sizeof
(
enum
x
)
==
1
?
1
:
-
1
];