(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c11-enum-6.c
       1  /* Test C2x enumerations with fixed underlying type are not diagnosed for C11
       2     with -pedantic-errors -Wno-c11-c2x-compat.  */
       3  /* { dg-do compile } */
       4  /* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
       5  
       6  enum e1 : int;
       7  enum e2 : short { A };
       8  enum : short { B };