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 ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr67987.f90
blob
1d57f9bda06910bde06e5a1d83e840edbce70b24
1
! { dg-do compile }
2
! PR fortran/67987
3
! PR fortran/67988
4
! Original code contributed by Gerhard Steinmetz
5
! gerhard dot steinmetz dot fortran at t-online dot de
6
subroutine
p
7
character
(-
8
) ::
c
=
' '
8
end subroutine
p
9
10
subroutine
pp
11
character
(
3
),
parameter
::
c
=
'abc'
12
character
(
3
) ::
x
(
1
)
13
x
=
c
(:-
2
)
14
print
*,
len
(
trim
(
x
(
1
)))
15
x
= [
c
(:-
2
) ]
16
print
*,
len
(
trim
(
x
(
1
)))
17
end subroutine
pp
18