summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg12.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg12.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/rfg12.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg12.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg12.C
new file mode 100644
index 000000000..5548e0f63
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg12.C
@@ -0,0 +1,2 @@
+// { dg-do assemble }
+int array[3] = { 1, 2, 3, 4 }; /* { dg-error "" } excess initializer elements */