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
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
substr_3.f
blob
b7f396a17cfc38958cdf3cb292a3f226957f89a0
1
! {
dg
-
do
run
}
2
!
Check that substrings behave correctly even when zero
-
sized
3
implicit
none
4
character
(
len
=
10
) ::
s
,
t
5
integer
::
i
,
j
6
7
s
=
"abcdefghij"
8
t
(:
10
) =
s
(
1
:)
9
s
(
16
:
15
) =
"foo"
10
s
(
0
:-
1
) =
"foo"
11
if
(
s
/=
t
)
STOP
1
12
end