nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_30.f90
blob6deda715bff8c1bee4bde970ca64a8d2e58ffbb2
1 ! { dg-do compile }
2 ! { dg-options "-Warray-temporaries" }
3 ! PR 45159 - make sure no temporary is created for this.
4 subroutine foo(a,b,i,j,k,n)
5 implicit none
6 integer, intent(in) :: i, j, k, n
7 real, dimension(n) :: a,b
8 a(k:i-1) = a(i:j)
9 end subroutine foo