Sign in
gnu
/
gcc
/
bdd784fc48a283d54f5f1e3cc2a0668c14dd3bee
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
pr71895.f90
blob: e5d40026d03ae5f2ee0e743020245f4b49bc6206 [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
program p
type t
integer
::
n
end
type
type
(
t
)
::
x
class
(
t
)
::
y
!
{
dg
-
error
"must be dummy, allocatable or pointer"
}
print
*,
extends_type_of
(
x
,
y
)
print
*,
extends_type_of
(
y
,
x
)
end