1 /* Test C23 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" } */
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" } */