summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_29.f90
blob: 398bf2c7b2547ee2e899638842ce4f2f115831b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! { dg-options "-Warray-temporaries" }

subroutine t1(n1,n2, gfft, ufft)
  implicit none
  integer :: n1, n2, i
  real :: gfft(n1,n2), ufft(n2)
  DO i=1, n1
     gfft(i,:)=gfft(i,:)*ufft(i)
  END DO
end subroutine t1