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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [der_ptr_component_1.f90] - Blame information for rev 193

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! PR 19929
3
! Deallocation of pointer components of derived type arrays
4
program der_ptr_component
5
    type :: t
6
        integer, pointer :: p
7
    end type t
8
    type(t) :: a(1)
9
 
10
    allocate(a(1)%p)
11
    deallocate(a(1)%p)
12
 
13
end program der_ptr_component

powered by: WebSVN 2.1.0

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