aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gnu2x-complit-1.c
blob: e9da5ad7958b3b31747f66ce6bc768375e02976a (plain)
1
2
3
4
5
6
7
/* Test C2x 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=gnu2x" } */

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