c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / typebound_deferred_1.f90
bloba08e5343b7de66e2532cc334d31e3138007d30dc
1 ! { dg-do compile }
3 ! PR 46952: [OOP] Spurious "recursive call" error with type bound procedure
5 ! Contributed by Ian Harvey <ian_harvey@bigpond.com>
7 module m
9 type, abstract :: t
10 contains
11 procedure(inter), pass, deferred :: foo
12 end type
14 contains
16 subroutine inter(this)
17 class(t) :: this
18 call this%foo()
19 end subroutine inter
21 end module m