OSDN Git Service

* c-common.c (c_common_reswords): Add _Static_assert for C.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-static-assert-1.c
1 /* Test for static assertions not in C99.  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
4
5 _Static_assert (1, ""); /* { dg-error "ISO C99 does not support '_Static_assert'" } */