summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.dg/ext/complit3.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/ext/complit3.C b/gcc/testsuite/g++.dg/ext/complit3.C
index 56f3d41be64..92e2033100e 100644
--- a/gcc/testsuite/g++.dg/ext/complit3.C
+++ b/gcc/testsuite/g++.dg/ext/complit3.C
@@ -1,3 +1,5 @@
+// { dg-options "" }
+
int Compound_Literals_0()
{
static int y[] = (int []) {1, 2, 3}; // { dg-error "" }
OpenPOWER on IntegriCloud