(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c11-complit-1.c
       1  /* Test C2x storage class specifiers in compound literals not permitted for
       2     C11.  */
       3  /* { dg-do compile } */
       4  /* { dg-options "-std=c11 -pedantic-errors" } */
       5  
       6  int *ps = &(static int) { 1 }; /* { dg-error "forbids storage class specifiers in compound literals" } */
       7  int ss = sizeof (static int) { 1 }; /* { dg-error "forbids storage class specifiers in compound literals" } */