URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [nested_allocatables_1.f90] - Rev 720
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }!! PR fortran/40850! The code freeing allocatable components used to be put after the code! freeing the containing entity.!! Original test case by Marco Restelli <mrestelli@gmail.com>! Reduced by Daniel Franke <franke.daniel@gmail.com>! and Janus Weil <janus@gcc.gnu.org>type tinteger, allocatable :: d(:)end typetype(t), allocatable :: a(:)! Big enough to make it failallocate(a(2 * 1024))call sub( (/ a /) )containssubroutine sub(b)type(t) :: b(:)end subroutineend
Go to most recent revision | Compare with Previous | Blame | View Log
