scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0042-struct-enum.c (250B)


      1 /*
      2 PATTERN:
      3 0042-struct-enum.c:9: error: unexpected 'const'
      4 0042-struct-enum.c:10: error: unexpected 'const'
      5 0042-struct-enum.c:11: error: unexpected 'const'
      6 .
      7 */
      8 
      9 struct const tag1 { int v; };
     10 union const tag2 { int v; };
     11 enum const tag3 { VALUE };