aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/bound_simplification_2.f90
blob: a3f1e4321f1dd0865d56046f75d2d7234891f42e (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! PR 38914 - this used to give an ICE due to missing
! simplification.
module foo
  INTEGER, PARAMETER, DIMENSION(0:20,4) :: IP_ARRAY2_4_S = 0
  INTEGER, PARAMETER, DIMENSION(2) ::  IP_ARRAY1_32_S = &
  & (/  LBOUND(IP_ARRAY2_4_S(5:10,2:3))/)
END module foo