Sign in
ara-mdk
/
platform
/
external
/
clang
/
2cd889d6d97db0cf73930873871aa4a542e84b89
/
.
/
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
];