Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-static-assert-1.c
blob23477360e108c3d78e14d89a4f8f23bfc0f6f7a4
1 /* Test for static assertions not in C99. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
5 _Static_assert (1, ""); /* { dg-error "ISO C99 does not support '_Static_assert'" } */