aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_59.f90
blob: 90c6532392c58d11dca4d0509cd2df4a7cb547b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
! PR 95812 - this caused an ICE.
! Test case by Jakub Jelinek.

module test
contains
  subroutine foo()
    integer :: a(3)
    a = 1
    print *, matmul(1*reshape(a,(/3,1/)), reshape((/1,1,1/),(/1,3/)))
  end subroutine foo
  subroutine bar()
    call foo()
  end subroutine bar
end module test