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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
deferred_type_param_3.f90
blob
809738d5b98ccf154a0f03e9fec8ae521c6c5400
1
! { dg-do compile }
2
!
3
! PR fortran/45170
4
! PR fortran/52158
5
!
6
! Contributed by Damian Rouson
7
8
module
speaker_class
9
type
speaker
10
contains
11
procedure
::
speak
12
end type
13
contains
14
function
speak
(
this
)
15
class
(
speaker
) ,
intent
(
in
) ::
this
16
character
(:) ,
allocatable
::
speak
17
end function
18
subroutine
say_something
(
somebody
)
19
class
(
speaker
) ::
somebody
20
print
*,
somebody
%
speak
()
21
end subroutine
22
end module
23