aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/undeclared-2.c
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 19:57:50 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 19:57:50 +0000
commitbf3c982edd07cea490f6e5316ef50d7fca3c7247 (patch)
treeeb3637f92d210e14b26f11edc4253e8f80172ce1 /gcc/testsuite/gcc.dg/noncompile/undeclared-2.c
parent59bc598e01e292d67c32b6ae240b4544d4c234ab (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1752
'apple-gcc-1752'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1752@81802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile/undeclared-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/undeclared-2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/undeclared-2.c b/gcc/testsuite/gcc.dg/noncompile/undeclared-2.c
new file mode 100644
index 00000000000..36cd0eaf175
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/noncompile/undeclared-2.c
@@ -0,0 +1,3 @@
+/* Invalid, but should not ICE. PRs 11944, 14734. */
+
+void foo(const int[i]); /* { dg-error "undeclared|for each" } */