Home | History | Annotate | Download | only in Sema
      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];
      7