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);