☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
strarray_2.f90
☽
☼
gcc/testsuite/gfortran.fortran-torture/execute/strarray_2.f90
code
plain
raw
1
subroutine foo(i,c)
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
end
9
10
program strarray_2
11
character c
12
call foo(3,c)
13
if (c.ne.'3') STOP 1
14
end