3 ! Check the fix for PR70031, where the 'module' prefix had to preceed
4 ! 'function/subroutine' in the interface (or in the CONTAINS section.
6 ! As reported by "Bulova" on
7 ! https://groups.google.com/forum/#!topic/comp.lang.fortran/hE8LkVMhghQ
11 Module Recursive Subroutine sub1 (x)
12 Integer, Intent (InOut) :: x
14 module recursive function fcn1 (x) result(res)
15 integer, intent (inout) :: x
21 submodule(test) testson
30 recursive module function fcn1 (x) result(res)
31 integer, intent (inout) :: x
47 if (fcn1 (x) .ne. 0) STOP 2