blob: 20e5a6d1076f551bbe870b143f40bdc1b3977e27 (
plain)
1
2
3
4
5
|
/* Test C11 static assertions. Omitting the string not supported. */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors" } */
_Static_assert (1); /* { dg-error "does not support omitting the string" } */
|