2 ! Tests the fix for PR25102, which did not diagnose the aberrant interface
5 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
11 INTERFACE ASSIGNMENT (=)
12 MODULE PROCEDURE set ! { dg-error "Alternate return cannot appear" }
15 PURE SUBROUTINE set(x1,*)
16 TYPE(data_type), INTENT(OUT) :: x1