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
libgfortran/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
zero_length_2.f90
blob
2cc3f2938ca121f43d4c59f7524ade9cd5ae8c43
1
! { dg-do run }
2
character
(
len
=
1
) ::
s
3
character
(
len
=
0
) ::
s0
4
s
=
" "
5
s0
=
""
6
call
bar
(
""
)
7
call
bar
(
s
)
8
call
bar
(
s0
)
9
call
bar
(
trim
(
s
))
10
call
bar
(
min
(
s0
,
s0
))
11
contains
12
subroutine
bar
(
s
)
13
character
(
len
=*),
optional
::
s
14
if
(.
not
.
present
(
S
))
call
abort
15
end subroutine
bar
16
end