Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c11-static-assert-5.c
blob: e88b8167a198161327012a4b709fd1cfd921c842 [
file
] [
log
] [
blame
]
/* Test C11 static assertions. Non-constant-expression without -pedantic. */
/* { dg-do compile } */
/* { dg-options "-std=c11" } */
_Static_assert
((
int
)(
1.0
+
1.0
),
"non-constant-expression"
);