(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c99-tag-6.c
       1  /* Test for handling of tags.  "enum foo;" is invalid after an existing
       2     declaration (does not redeclare the tag) as well as before: bug 107164.
       3     Test this is not diagnosed without -pedantic.  */
       4  /* { dg-do compile } */
       5  /* { dg-options "-std=c99" } */
       6  
       7  enum e1;
       8  enum e2 { E };
       9  enum e2;