aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/warn_conversion_10.f90
blob: e7d0a3ce104420766f587c78e8c5ba9089fcc528 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! { dg-options "-fno-range-check -Wconversion" }
! PR 88298 - this used to warn unnecessarily.  Original test case by
! Harald Anlauf.
subroutine bug (j, js)
  integer    :: j, js(3,2)
  js(:,:) = cshift (js(:,:), shift=j, dim=1)
end subroutine bug