Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-oak-8182.B
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c99-static-assert-1.c
blob: 23477360e108c3d78e14d89a4f8f23bfc0f6f7a4 [
file
] [
log
] [
blame
]
/* Test for static assertions not in C99. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
_Static_assert
(
1
,
""
);
/* { dg-error "ISO C99 does not support '_Static_assert'" } */