2 ! One of the tests of the patch for PR30068.
3 ! Taken from the fortran 2003 standard C11.2.
5 ! The standard specifies that the optional arguments should be
6 ! ignored in the counting of like type/kind, so the specific
7 ! procedures below are invalid, even though actually unambiguous.
10 SUBROUTINE S8A(X
,Y
,Z
) ! { dg-error "Ambiguous interfaces" }
15 SUBROUTINE S8B(X
,Z
,Y
) ! { dg-error "Ambiguous interfaces" }