short-enums.c 214 Bytes Raw Blame History Permalink 1 2 3 4 5 6 // 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];