Commit b44e2c4c by Mikael Morin

Add the working testcase from PR fortran/39290.

testsuite/
	PR fortran/39290
	* gfortran.dg/interface_37.f90: New test.

From-SVN: r190504
parent a9c283a5
2012-08-18 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/39290
* gfortran.dg/interface_37.f90: New test.
2012-08-17 H.J. Lu <hongjiu.lu@intel.com>
Gary Funck <gary@intrepid.com>
......
! { dg-do compile }
!
! PR fortran/39290
! Subroutine/function ambiguity in generics.
!
interface q
subroutine qr(f)
implicit real(f)
external f
end subroutine
subroutine qc(f)
implicit complex(f)
external f
end subroutine ! { dg-error "Ambiguous interfaces" }
end interface q
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment