2 ! { dg-options "-frecursive" }
5 ! Check that -frecursive allows using procedures in as procedure expressions.
14 PROCEDURE(test), POINTER :: procptr
16 CALL bar (test) ! { dg-bogus "Non-RECURSIVE" }
17 procptr => test ! { dg-bogus "Non-RECURSIVE" }
20 INTEGER FUNCTION func ()
21 ! Using a result variable is ok of course!
22 func = 42 ! { dg-bogus "Non-RECURSIVE" }