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
lto: Remove random_seed from section name.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr100193.f90
blob
07a3634cb06325799efe7091dcf50d8cfb6ec894
1
! { dg-do compile }
2
!
3
! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
4
!
5
module
m
6
implicit none
7
type
t
8
procedure
(
f
),
pointer
,
nopass
::
g
9
end type
10
contains
11
function
f
()
12
character
(:),
allocatable
::
f
13
f
=
'abc'
14
end
15
subroutine
s
16
type
(
t
) ::
z
17
z
%
g
=
'x'
! { dg-error "is a procedure pointer" }
18
if
(
z
%
g
() /=
'abc'
)
stop
19
end
20
end