7 lines
214 B
C
7 lines
214 B
C
|
// RUN: not %clang_cc1 -fsyntax-only %s -verify
|
||
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -fshort-enums -fsyntax-only %s -verify
|
||
|
// expected-no-diagnostics
|
||
|
|
||
|
enum x { A };
|
||
|
int t0[sizeof(enum x) == 1 ? 1 : -1];
|