Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gfortran.dg / pr20865.f90
blob96d0d791cb097b1797ca9ec387560ad9bd09ac90
1 ! { dg-do compile }
2 ! PR fortran/20865
3 subroutine tt(j)
4 integer :: j
5 end subroutine
7 integer :: i, st
8 st(i) = (i*i+2)
9 call tt(st) ! { dg-error "Statement function .* is not allowed as an actual argument" }
10 end