nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / generic_34.f90
blob1bcbfa089fa74012f6e4b7051c86383c031806d7
1 ! { dg-do compile }
3 ! PR 86116: [6/7/8/9 Regression] Ambiguous generic interface not recognised
5 ! Contributed by martin <mscfd@gmx.net>
7 module mod
9 type :: t
10 end type t
12 interface sub
13 module procedure s1
14 module procedure s2
15 end interface
17 contains
19 subroutine s1(x) ! { dg-error "Ambiguous interfaces in generic interface" }
20 type(t) :: x
21 end subroutine
23 subroutine s2(x) ! { dg-error "Ambiguous interfaces in generic interface" }
24 class(*), allocatable :: x
25 end subroutine
27 end