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
PR libfortran/23262
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
func_result_2.f90
blob
2b457d9d44f6a9b93e4f64859263e2dbd19957f2
1
! { dg-do run }
2
! Character functions with a result clause were broken
3
program
testch
4
if
(
ch
().
ne
.
"hello "
)
call
abort
()
5
contains
6
function
ch
result
(
str
)
7
character
(
len
=
10
) ::
str
8
str
=
"hello"
9
end function
ch
10
end program
testch