OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[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'" } */