c: C2x storage class specifiers in compound literals
[platform/upstream/gcc.git] / gcc / testsuite / gcc.dg / gnu2x-complit-1.c
1 /* Test C2x storage class specifiers in compound literals: GNU use of alignof
2    on objects (tested separately since alignof parsing handles the type name of
3    compound literals).  */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu2x" } */
6
7 int a = alignof (static int) { 0 };