URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_ptr_comp_30.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
! PR 47768: ICE: printing a derived-type variable with proc-pointer components
!
! Contributed by Janus Weil <janus@gcc.gnu.org>
type :: t
integer :: i = 3
procedure(type(t)), pointer, nopass :: ppc
end type
type(t) :: x
print *,x ! { dg-error "cannot have procedure pointer components" }
end
Go to most recent revision | Compare with Previous | Blame | View Log