blob: d018b44025d94176d1668d7c02572335b86735d0 [file] [log] [blame]
/* PR c/69507 - bogus warning: ISO C does not allow '__alignof__ (expression)'
*/
/* { dg-do compile } */
/* { dg-options "-std=c11 -Wno-error -Wpedantic" } */
extern int e;
int a[] = {
__alignof__ (e),
_Alignof (e) /* { dg-warning "ISO C does not allow ._Alignof \\(expression\\)." } */
};