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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
der_io_4.f90
blob
cfa1bca66873f3245014324d9466ab98697ec737
1
! { dg-do compile }
2
! PR41859 ICE on invalid expression involving DT with pointer components in I/O.
3
! The parens around p below are significant.
4
TYPE
::
ptype
5
character
,
pointer
,
dimension
(:) ::
x
=>
null
()
6
END TYPE
7
TYPE
(
ptype
) ::
p
8
print
*, ((((
p
))))
! { dg-error "Data transfer element" }
9
end