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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [pr45598.f90] - Blame information for rev 747

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

Line No. Rev Author Line
1 695 jeremybenn
program main
2
implicit none
3
character(len=10) :: digit_string = '123456789'
4
character :: digit_arr(10)
5
call copy(digit_string, digit_arr)
6
print '(1x, a1)',digit_arr(1:9)
7
contains
8
  subroutine copy(in, out)
9
    character, dimension(10) :: in, out
10
    out(1:10) = in(1:10)
11
  end subroutine copy
12
end program main
13
 

powered by: WebSVN 2.1.0

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