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.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [reshape_4.f90] - Blame information for rev 315

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-options "-fbounds-check" }
3
program main
4
  real, dimension(2,2) :: result
5
  real, dimension(6) :: source
6
  real, dimension(2) :: pad
7
 
8
  call random_number (source)
9
  call random_number (pad)
10
 
11
  result = reshape(source, shape(result),pad=pad(1:0))
12
  result = reshape(source, shape(result))
13
  result = reshape(source, shape(result),pad=pad)
14
 
15
end program main

powered by: WebSVN 2.1.0

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