blob: 77510f4e0d9d1eb1778c189ec42f0c8c2f8fe49a [file] [log] [blame]
/* Test _Alignof and _Alignas not in C90. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
int a = _Alignof (int); /* { dg-error "ISO C90 does not support '_Alignof'" } */
_Alignas (int) int b; /* { dg-error "ISO C90 does not support '_Alignas'" } */