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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
der_io_1.f90
blob
ae7e4a79b31f8dc95757949f1b2d4a822215f6fd
1
! { dg-do compile }
2
! PR 16404 Nr. 8
3
! IO of derived types containing pointers is not allowed
4
program
der_io_1
5
type
t
6
integer
,
pointer
::
p
7
end type
8
integer
,
target
::
i
9
type
(
t
)
v
10
character
(
4
) ::
s
11
12
v
%
p
=>
i
13
i
=
42
14
write
(
unit
=
s
,
fmt
=
'(I2)'
)
v
! { dg-error "POINTER components" }
15
if
(
s
.
ne
.
'42'
)
STOP
1
16
end program
17