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_allocate_2.f03] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR fortran/41582!subroutine test()type :: tend type tclass(t), allocatable :: c,dallocate(t :: d)allocate(c,source=d)endtype, abstract :: tend type ttype t2class(t), pointer :: tend type t2class(t), allocatable :: a,c,dtype(t2) :: ballocate(a) ! { dg-error "requires a type-spec or SOURCE" }allocate(b%t) ! { dg-error "requires a type-spec or SOURCE" }end
