Sign in
gnu
/
gcc
/
48e4a9d93885b3d82cfcbf1e804fe9c3eaabf157
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c90-static-assert-1.c
blob: d174ec9b10707836c5f3f6d4770d248903fd0f02 [
file
] [
log
] [
blame
]
/* Test for static assertions not in C90. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
_Static_assert
(
1
,
""
);
/* { dg-error "ISO C90 does not support '_Static_assert'" } */