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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [scalarize3.f90] - Rev 695

Compare with Previous | Blame | View Log

program foo
  integer, dimension(3, 2) :: a

  a = reshape ((/1, 2, 3, 4, 5, 6/), (/3, 2/))
  a = a(3:1:-1, 2:1:-1);

  if (any (a .ne. reshape ((/6, 5, 4, 3, 2, 1/), (/3, 2/)))) call abort
end program

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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