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
nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr110415.f90
blob
f647cc4c52cb3b1c6a16652adfb636612af73418
1
! { dg-do run }
2
!
3
! Contributed by Brad Richardson <everythingfunctional@protonmail.com>
4
!
5
type
,
abstract
::
p
6
end type
p
7
8
type
,
extends
(
p
) ::
c
9
end type
c
10
11
class
(
p
),
allocatable
::
a
12
13
a
=
func
()
14
contains
15
function
func
()
result
(
a
)
16
class
(
p
),
allocatable
::
a
17
18
a
=
c
()
19
end function
func
20
end program