☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c11-static-assert-5.c
☽
☼
gcc/testsuite/gcc.dg/c11-static-assert-5.c
code
plain
raw
1
/* Test C11 static assertions. Non-constant-expression without -pedantic. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c11" } */
4
5
_Static_assert ((int)(1.0 + 1.0), "non-constant-expression");