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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR 40067 - this used to segfault on an unallocated return array.
3
    integer, dimension(10)             :: int1d
4
    integer, dimension(:), pointer     :: int1d_retrieved
5
 
6
    allocate(int1d_retrieved(10))
7
    if (any(shape(int1d_retrieved) /= shape(INT1D))) call abort()
8
    end

powered by: WebSVN 2.1.0

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