blob: d4d0821f0e30c027bb9206733382fd4c47d7992a (
plain)
1
2
3
4
5
|
/* 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");
|