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