The new file gfortran.dg/array_4.f90 was missing from the commit 137910
authorTobias Burnus <burnus@gcc.gnu.org>
Fri, 18 Jul 2008 13:17:49 +0000 (15:17 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 18 Jul 2008 13:17:49 +0000 (15:17 +0200)
2008-07-17  Tobias Burnus  <burnus@net-b.de>
        PR fortran/36824
        * gfortran.dg/array_4.f90: New.

From-SVN: r137949

gcc/testsuite/gfortran.dg/array_4.f90 [new file with mode: 0644]

diff --git a/gcc/testsuite/gfortran.dg/array_4.f90 b/gcc/testsuite/gfortran.dg/array_4.f90
new file mode 100644 (file)
index 0000000..869522a
--- /dev/null
@@ -0,0 +1,12 @@
+! { dg-do compile }
+! PR fortran/36824
+!
+! Dimension of tgclist was not recognized as having constant bounds
+!
+program test
+implicit none
+integer, dimension( 3 ), parameter :: tgc = (/5, 6, 7 /)
+type tgccomp
+   integer, dimension( tgc( 1 ) : tgc( 2 ) ) :: tgclist
+end type tgccomp
+end program