URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [class_18.f03] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
!
! PR 43207: [OOP] ICE for class pointer => null() initialization
!
! Original test case by Tobias Burnus <burnus@gcc.gnu.org>
! Modified by Janus Weil <janus@gcc.gnu.org>
implicit none
type :: parent
end type
type(parent), target :: t
class(parent), pointer :: cp => null()
if (associated(cp)) call abort()
cp => t
if (.not. associated(cp)) call abort()
end
Go to most recent revision | Compare with Previous | Blame | View Log