summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/pr52290.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile/pr52290.c')
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/pr52290.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/pr52290.c b/gcc/testsuite/gcc.dg/noncompile/pr52290.c
new file mode 100644
index 000000000..275543cfc
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/noncompile/pr52290.c
@@ -0,0 +1,3 @@
+/* { dg-error "undeclared here" "" { target *-*-* } 3 } */
+/* { dg-error "expected" "" { target *-*-* } 3 } */
+int f()[j]