2 ! { dg-options "-std=gnu" }
4 ! Tests the fix for PR25102, which did not diagnose the aberrant interface
7 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
13 INTERFACE ASSIGNMENT (=)
17 PURE
SUBROUTINE set(x1
,*) ! { dg-error "Alternate return cannot appear" }
18 TYPE(data_type
), INTENT(OUT
) :: x1