Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
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" } */