aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gnu2x-complit-1.c
blob: 6bee02c9d5fc62c47b54070721aa6e4e6c86ce00 (plain)
1
2
3
4
5
6
7
/* Test C23 storage class specifiers in compound literals: GNU use of alignof
   on objects (tested separately since alignof parsing handles the type name of
   compound literals).  */
/* { dg-do compile } */
/* { dg-options "-std=gnu23" } */

int a = alignof (static int) { 0 };