repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (163495:164578).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
compile
/
pr45598.f90
blob
b8a883e533b790c24f7c940eeb7ad5af6340ee97
1
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