Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c1x-static-assert-5.c
blob: d4d0821f0e30c027bb9206733382fd4c47d7992a [
file
] [
log
] [
blame
]
/* Test C1X static assertions. Non-constant-expression without -pedantic. */
/* { dg-do compile } */
/* { dg-options "-std=c1x" } */
_Static_assert
((
int
)(
1.0
+
1.0
),
"non-constant-expression"
);