☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Sema
/
short-enums.c
☽
☼
clang/test/Sema/short-enums.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: not %clang_cc1 -fsyntax-only %s -verify
2
// RUN: %clang_cc1 -triple %itanium_abi_triple -fshort-enums -fsyntax-only %s -verify
3
// expected-no-diagnostics
4
5
enum x { A };
6
int t0[sizeof(enum x) == 1 ? 1 : -1];