URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [class_8.f03] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Test fixes for PR41618.
!
! Contributed by Janus Weil <janus@gcc.gnu.org>
!
type t1
integer :: comp
class(t1),pointer :: cc
end type
class(t1) :: x ! { dg-error "must be dummy, allocatable or pointer" }
x%comp = 3
print *,x%comp
end
Go to most recent revision | Compare with Previous | Blame | View Log