OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [deallocate_alloc_opt_2.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
subroutine sub(i, j, err)
3
   implicit none
4
   character(len=*), intent(in) :: err
5
   integer, intent(in) :: j
6
   integer, intent(in), allocatable :: i(:)
7
   integer, allocatable :: m(:)
8
   integer n
9
   deallocate(i)                    ! { dg-error "variable definition context" }
10
   deallocate(m, stat=j)            ! { dg-error "variable definition context" }
11
   deallocate(m,stat=n,errmsg=err)  ! { dg-error "variable definition context" }
12
end subroutine sub

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.