☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
pr20865.f90
☽
☼
gcc/testsuite/gfortran.dg/pr20865.f90
code
plain
raw
1
! { dg-do compile }
2
! { dg-options "-std=legacy" }
3
!
4
! PR fortran/20865
5
subroutine tt(j)
6
integer :: j
7
end subroutine
8
9
integer :: i, st
10
st(i) = (i*i+2)
11
call tt(st) ! { dg-error "Statement function .* is not allowed as an actual argument|Invalid procedure argument" }
12
end