blob: 74eaa636ae0168593d4bbfbc6d279a105d8a6a5d [file] [log] [blame]
! { dg-do compile }
! PR25061 procedure name conflict
! Test case from PR.
INTERFACE I1 ! { dg-error "" }
SUBROUTINE S1(I)
END SUBROUTINE S1
SUBROUTINE S2(R)
END SUBROUTINE S2
END INTERFACE I1
CONTAINS
SUBROUTINE I1(I) ! { dg-error "already defined as a generic" }
END SUBROUTINE I1 ! { dg-error "Expecting END PROGRAM statement" }
END