(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c90-complit-2.c
       1  /* Test C2x storage class specifiers in compound literals not permitted for
       2     C90, but without a duplicate diagnostic, just the diagnostic for compound
       3     literals not being permitted in C90 at all.  */
       4  /* { dg-do compile } */
       5  /* { dg-options "-std=c90 -pedantic-errors" } */
       6  
       7  int *ps = &(static int) { 1 }; /* { dg-error "ISO C90 forbids compound literals" } */
       8  int ss = sizeof (static int) { 1 }; /* { dg-error "ISO C90 forbids compound literals" } */