URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [strarray_1.f90] - Rev 711
Go to most recent revision | Compare with Previous | Blame | View Log
subroutine foo(i)
character c
integer i
character(1),parameter :: hex_chars(0:15)=&
(/'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'/)
c = hex_chars(i)
if (c.ne.'3') call abort()
end
program strarray_1
call foo(3)
end
Go to most recent revision | Compare with Previous | Blame | View Log