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