]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/gnu2x-static-assert-1.c
1 /* Test C11 static assertions. Omitting the string diagnosed with
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu2x -Wc11-c2x-compat" } */
6 _Static_assert (1); /* { dg-warning "does not support omitting the string" } */