blob: 93696ab1b23dd3e1aa81ee030905b994e5066cfe (
plain)
1
2
3
4
5
6
|
/* Test C11 static assertions. Omitting the string not supported, but
-Wno-c11-c2x-compat disables the -pedantic diagnostic for that. */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
_Static_assert (1);
|