| 1 |
/* Test static assertions. Omitting the string should not result in a |
| 2 |
duplicate diagnostic in pre-C11 modes. */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-std=c99 -pedantic" } */ |
| 5 |
|
| 6 |
_Static_assert (1); /* { dg-warning "ISO C99 does not support '_Static_assert'" } */ |