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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [strarray_1.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
subroutine foo(i)
2
character c
3
integer i
4
character(1),parameter :: hex_chars(0:15)=&
5
  (/'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'/)
6
 
7
c = hex_chars(i)
8
if (c.ne.'3') call abort()
9
end
10
 
11
program strarray_1
12
call foo(3)
13
end

powered by: WebSVN 2.1.0

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