PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / matmul_const.f90
blob35dce3227748717879c58c87eb3f71e024df6efa
1 ! { dg-do run }
2 ! { dg-additional-options "-fno-frontend-optimize -fdump-tree-original" }
3 program main
4 integer, parameter :: A(3,2) = reshape([1,2,3,4,5,6],[3,2])
5 integer, parameter :: B(2,3) = reshape([1,1,1,1,1,1],[2,3])
6 character (len=30) :: line
7 write (unit=line,fmt='(9i3)') matmul(A,B)
8 if (line /= ' 5 7 9 5 7 9 5 7 9') call abort
9 end program main
10 ! dg-final { scan-tree-dump-times "matmul_i4" 0 "original" } }