Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / stfunc_3.f90
blob90980a924485cd08eec237a5df393359b8df4291
1 ! { dg-do compile }
2 ! { dg-options "-std=legacy" }
4 ! Tests the fix for PR20867 in which implicit typing was not done within
5 ! statement functions and so was not confirmed or not by subsequent
6 ! type delarations.
8 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
10 REAL :: st1
11 st1(I)=I**2
12 REAL :: I ! { dg-error " already has basic type of INTEGER" }
13 END