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
2005-12-23 Paolo Bonzini <bonzini@gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr15129.f90
blob
f9a277cb7e8cebf1d3f51d2441715649623975db
1
! { dg-do run }
2
! PR 15129: we used to share the character length between A and B in the
3
! subroutine.
4
CHARACTER
*
10
A
5
CHARACTER
*
8
B
6
A
=
'gfortran'
7
B
=
'rocks!'
8
CALL
T
(
A
,
B
)
9
contains
10
SUBROUTINE
T
(
A
,
B
)
11
CHARACTER
*(*)
A
,
B
12
if
(
len
(
a
)/=
10
)
call
abort
()
13
if
(
len
(
b
)/=
8
)
call
abort
()
14
END SUBROUTINE
15
end