aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dependency_12.f90
blob: 22006145bd10504ded08496ed62130c4140c89e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
subroutine foo(a,b)
  integer, pointer, dimension (:,:) :: a
  real, dimension(:,:) :: b

  where (a == 0)
    b = 0.0
  endwhere
end subroutine
! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }