[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_33.f90
blobcf6f175d4a8cac5805dc5f1828bdcfc492b29202
1 ! { dg-do compile }
2 ! { dg-options "-Warray-temporaries" }
3 ! No temporary should be created for this, as a missing stride and
4 ! a stride equal to one should be equal.
5 program main
6 integer a(100)
7 a(10:16) = a(11:17)
8 a(10:16) = a(11:17:1)
9 a(10:16:1) = a(11:17)
10 a(10:16:1) = a(11:17:1)
11 end program main