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

Subversion Repositories openrisc

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

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.