OSDN Git Service

2005-01-11 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / pr20865.f90
1 ! { dg-do compile }
2 ! PR fortran/20865
3   subroutine tt(j)
4    integer :: j
5   end subroutine
6
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