summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/simplify_cshift_3.f90
blob: 26f54c5431f63cecc0ec089efd299a934e6f8f7c (plain)
1
2
3
4
5
6
7
! { dg-do compile }
subroutine foo ()
   real(4), allocatable, save :: tmp (:, :)
   real(4), pointer, save :: arr (:, :, :)
   integer :: l, m, n
   tmp = (cshift(cshift(arr (:,:,l),m,2),n,1))
end subroutine foo