PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / interface_37.f90
blob99b2b7c8a140798c48e6133e98cc9f2a77a0a735
1 ! { dg-do compile }
3 ! PR fortran/39290
4 ! Subroutine/function ambiguity in generics.
6 interface q
7 subroutine qr(f) ! { dg-error "Ambiguous interfaces" }
8 implicit real(f)
9 external f
10 end subroutine
11 subroutine qc(f) ! { dg-error "Ambiguous interfaces" }
12 implicit complex(f)
13 external f
14 end subroutine
15 end interface q
16 end