Sign in
llvm
/
llvm-test-suite
/
refs/heads/main
/
.
/
Fortran
/
gfortran
/
regression
/
pr91727.f90
blob: 54276b45d33ed122b038e467dad14217468d78c8 [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
Code
contributed
by
Gerhard
Steinmetz
.
program p
type t
class
(*),
allocatable
::
a
end
type
type
(
t
)
::
x
allocate
(
x
%
a
,
source
=[
1
])
!
{
dg
-
error
"have the same rank as"
}
end