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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [reshape_3.f90] - Rev 801

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

! { dg-do run }
! { dg-options "-fbounds-check" }
program main
  implicit none
  integer, dimension(2,2) :: a4
  integer(kind=1), dimension(2,2) :: a1
  character(len=100) line
  data a4 /1, 2, 3, 4/
  a1 = a4
  write (unit=line,fmt='(4I3)') reshape(a4,(/4/))
  write (unit=line,fmt='(4I3)') reshape(a1,(/4/))
end program main

Go to most recent revision | 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.