Sign in
gnu
/
gcc
/
61351ab96a4dfa0884c8b1a53342b97915fb5dd7
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c2x-static-assert-2.c
blob: c3474676e023197763dfdd64c8961eb6a2c080a6 [
file
] [
log
] [
blame
]
/* Test C2x static assertions. Omitting the string supported. Failed
assertions. */
/* { dg-do compile } */
/* { dg-options "-std=c2x -pedantic" } */
_Static_assert
(
0
);
/* { dg-error "static assertion failed" } */