OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [nestcons.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! Program to test array expressions in array constructors.
2
program nestcons
3
   implicit none
4
   integer, parameter :: w1(3)= (/ 5, 6, 7/)
5
   integer, dimension(6) :: w2
6
 
7
   w2 = (/ 1, 2, w1(3:1:-1), 3 /)
8
   if (any (w2 .ne. (/ 1, 2, 7, 6, 5, 3/))) call abort
9
end

powered by: WebSVN 2.1.0

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