URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [class_1.f03] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }!! PR 40940: CLASS statement!! Contributed by Janus Weil <janus@gcc.gnu.org>implicit nonetype tinteger :: compclass(t),pointer :: c2end typeclass(t),pointer :: c1allocate(c1)c1%comp = 5c1%c2 => c1print *,c1%compcall sub(c1)if (c1%comp/=5) call abort()deallocate(c1)containssubroutine sub (c3)class(t) :: c3print *,c3%compend subroutineend
