summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c1x-static-assert-6.c')
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-6.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-6.c b/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
deleted file mode 100644
index c544cadc268..00000000000
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
+++ /dev/null
@@ -1,5 +0,0 @@
-/* Test C1X static assertions. Non-constant-expression with -pedantic. */
-/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic" } */
-
-_Static_assert ((int)(1.0 + 1.0), "non-constant-expression"); /* { dg-warning "not an integer constant expression" } */