OpenCores
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.fortran-torture/] [compile/] [shape_reshape.f90] - Blame information for rev 328

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

Line No. Rev Author Line
1 303 jeremybenn
! This checks that the shape of the SHAPE intrinsic is known.
2
PROGRAM shape_reshape
3
   INTEGER, ALLOCATABLE :: I(:,:)
4
   ALLOCATE(I(2,2))
5
   I = RESHAPE((/1,2,3,4/),SHAPE=SHAPE(I))
6
   DEALLOCATE(I)
7
END PROGRAM
8
 

powered by: WebSVN 2.1.0

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