2018-09-30 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / bound_simplification_2.f90
bloba3f1e4321f1dd0865d56046f75d2d7234891f42e
1 ! { dg-do compile }
2 ! PR 38914 - this used to give an ICE due to missing
3 ! simplification.
4 module foo
5 INTEGER, PARAMETER, DIMENSION(0:20,4) :: IP_ARRAY2_4_S = 0
6 INTEGER, PARAMETER, DIMENSION(2) :: IP_ARRAY1_32_S = &
7 & (/ LBOUND(IP_ARRAY2_4_S(5:10,2:3))/)
8 END module foo