repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgfortran/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
typebound_deferred_1.f90
blob
6e6dc52d0fdc318e0cbf6ade47e34984531591a7
1
! { dg-do compile }
2
!
3
! PR 46952: [OOP] Spurious "recursive call" error with type bound procedure
4
!
5
! Contributed by Ian Harvey <ian_harvey@bigpond.com>
6
7
module
m
8
9
type
,
abstract
::
t
10
contains
11
procedure
(
inter
),
pass
,
deferred
::
foo
12
end type
13
14
contains
15
16
subroutine
inter
(
this
)
17
class
(
t
) ::
this
18
call
this
%
foo
()
19
end subroutine
inter
20
21
end module
m
22
23
! { dg-final { cleanup-modules "m" } }