repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
straret.f90
blob
3f9a71ba74da802f5cf25945c4a3259123202996
1
! Test assumed length character functions.
2
3
character
*(*)
function
f
()
4
f
=
"Hello"
5
end function
6
7
character
*
6
function
g
()
8
g
=
"World"
9
end function
10
11
program
straret
12
character
*
6
f
,
g
13
character
*
12
v
14
15
16
v
=
f
() //
g
()
17
if
(
v
.
ne
.
"Hello World "
)
STOP
1
18
end program