aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f90')
-rw-r--r--gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f907
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f90 b/gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f90
new file mode 100644
index 000000000..750d2454f
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gfortran.dg/implicit_7.f90
@@ -0,0 +1,7 @@
+! { dg-do compile }
+! PR 24643
+! This tests a case where the compiler used to ICE in an early
+! incarnation of the patch
+ylocal=1
+ybtable=ylocal(1:2) ! { dg-error "Unclassifiable" }
+end