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
/
proc_ptr_comp_30.f90
blob
afcc4c73f28a9296526fa899fa27ed6b05f4f9ac
1
! { dg-do compile }
2
!
3
! PR 47768: ICE: printing a derived-type variable with proc-pointer components
4
!
5
! Contributed by Janus Weil <janus@gcc.gnu.org>
6
7
type
::
t
8
integer
::
i
=
3
9
procedure
(
type
(
t
)),
pointer
,
nopass
::
ppc
10
end type
11
12
type
(
t
) ::
x
13
14
print
*,
x
! { dg-error "cannot have procedure pointer components" }
15
end