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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [reshape_3.f90] - Blame information for rev 862

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
  implicit none
5
  integer, dimension(2,2) :: a4
6
  integer(kind=1), dimension(2,2) :: a1
7
  character(len=100) line
8
  data a4 /1, 2, 3, 4/
9
  a1 = a4
10
  write (unit=line,fmt='(4I3)') reshape(a4,(/4/))
11
  write (unit=line,fmt='(4I3)') reshape(a1,(/4/))
12
end program main

powered by: WebSVN 2.1.0

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