]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/c2x-static-assert-2.c
1 /* Test C2x static assertions. Omitting the string supported. Failed
3 /* { dg-do compile } */
4 /* { dg-options "-std=c2x -pedantic" } */
6 _Static_assert (0); /* { dg-error "static assertion failed" } */