2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-static-assert-5.c
blobe88b8167a198161327012a4b709fd1cfd921c842
1 /* Test C11 static assertions. Non-constant-expression without -pedantic. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11" } */
5 _Static_assert ((int)(1.0 + 1.0), "non-constant-expression");