From 4b043b8de578105d61090e36662e4db18a78cdcc Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Fri, 18 Jul 2008 15:17:49 +0200 Subject: [PATCH] The new file gfortran.dg/array_4.f90 was missing from the commit 137910 2008-07-17 Tobias Burnus PR fortran/36824 * gfortran.dg/array_4.f90: New. From-SVN: r137949 --- gcc/testsuite/gfortran.dg/array_4.f90 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/array_4.f90 diff --git a/gcc/testsuite/gfortran.dg/array_4.f90 b/gcc/testsuite/gfortran.dg/array_4.f90 new file mode 100644 index 00000000000..869522af08f --- /dev/null +++ b/gcc/testsuite/gfortran.dg/array_4.f90 @@ -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 -- 2.30.2