[Bug fortran/43366] [OOP][F2008] Intrinsic assign to polymorphic variable

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 3 20:45:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43366

--- Comment #3 from janus at gcc dot gnu.org 2011-02-03 20:45:04 UTC ---
Test case:


type :: t
  integer :: i
end type

class(t), allocatable :: x
type(t) :: y = t (3)

x = y
print *,x%i
end



More information about the Gcc-bugs mailing list