1 /* Test C11 static assertions. Omitting the string diagnosed with
2 -Wc11-c2x-compat. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu2x -Wc11-c2x-compat" } */
5
6 _Static_assert (1); /* { dg-warning "does not support omitting the string" } */
7