URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [class_43.f03] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
! PR 49417: [4.6/4.7 Regression] [OOP] ICE on invalid CLASS component declaration
!
! Contributed by Andrew Benson <abenson@its.caltech.edu>
type :: nodeWrapper
end type nodeWrapper
type, extends(nodeWrapper) :: treeNode
class(nodeWrapper) :: subComponent ! { dg-error "must be allocatable or pointer" }
end type treeNode
end
Go to most recent revision | Compare with Previous | Blame | View Log