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 ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr67525.f90
blob
35f716dc6b54c522bf018b0c96d8d4e09d870528
1
! { dg-do compile }
2
! PR fortran/67525
3
! Code contributed by Gerhard Steinmetz
4
!
5
real function
f
(
x
)
6
select
type
(
x
)
! { dg-error "shall be polymorphic" }
7
end
select
8
end function
f
9
10
real function
g
(
x
)
11
select
type
(
x
=>
null
())
! { dg-error "shall be polymorphic" }
12
end
select
13
end function
g
14
15
subroutine
a
(
x
)
16
select
type
(
x
)
! { dg-error "shall be polymorphic" }
17
end
select
18
end subroutine
a