2 ! Tests the fix for PR25056 in which a non-PURE procedure could be
3 ! passed as the actual argument to a PURE procedure.
5 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
21 write(6,*) J(L
) ! { dg-error "Expected a PURE procedure for argument" }
24 ! { dg-final { cleanup-modules "M1" } }