annotate gcc/testsuite/gcc.dg/c99-align-1.c @ 138:fc828634a951

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:17:14 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Test _Alignof and _Alignas not in C99. */
kono
parents:
diff changeset
2 /* { dg-do compile } */
kono
parents:
diff changeset
3 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 int a = _Alignof (int); /* { dg-error "ISO C99 does not support '_Alignof'" } */
kono
parents:
diff changeset
6 _Alignas (int) int b; /* { dg-error "ISO C99 does not support '_Alignas'" } */