PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr85938.f90
blob99b5e68fdd673c7b0b17d4199d0d635bb4077471
1 ! { dg-do run }
2 ! PR fortran/85938
3 program foo
4 real a(9), b(3)
5 integer :: n = 3
6 a = 1.0
7 b = 1.0
8 if (any(matmul(reshape(A, (/ n, n /)), b) /= 3.)) stop 1
9 end program