! { dg-do compile }! PR 95812 - this caused an ICE.! Test case by Jakub Jelinek.module test
containssubroutinefoo()integer::a(3)
a =1print*,matmul(1*reshape(a,(/3,1/)),reshape((/1,1,1/),(/1,3/)))end subroutine foo
subroutinebar()callfoo()end subroutine bar
end module test