2 ! Test fix for PR37583, in which:
3 ! (i) the reference to glocal prior to the ENTRY caused an internal
5 ! (ii) the need for a RECURSIVE attribute was ignored.
7 ! Contributed by Arjen Markus <arjen.markus@wldelft.nl>
11 recursive subroutine suba( g
) ! prefix with "RECURSIVE"
30 call mysub( glocalb
) ! { dg-warning "Non-RECURSIVE" }
36 ! { dg-final { cleanup-modules "gsub" } }