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/] [allocate_alloc_opt_5.f90] - Rev 335
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! { dg-options "-std=f95" }
program a
implicit none
integer n
character(len=70) str
integer, allocatable :: i(:)
n = 42
allocate(i(4), source=n) ! { dg-error "Fortran 2003: SOURCE tag" }
allocate(i(4), stat=n, errmsg=str) ! { dg-error "Fortran 2003: ERRMSG tag" }
end program a
Go to most recent revision | Compare with Previous | Blame | View Log