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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr85521_1.f90
blob
57e4620fe0de65ea293b02cfd6974b623a0c9eaa
1
! { dg-do compile }
2
! PR fortran/85521
3
program
p
4
character
(
3
) ::
c
=
'abc'
5
character
(
3
) ::
z
(
1
)
6
z
= [
c
(:-
1
) ]
7
print
*,
z
8
end