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
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
init_flag_9.f90
blob
512396455bd02e3957ba787756ab08f4906c1fae
1
! { dg-do run }
2
! { dg-options "-finit-character=89" }
3
!
4
! PR fortran/51800
5
!
6
7
subroutine
foo
(
n
)
8
character
(
len
=
n
) ::
str
9
! print *, str
10
if
(
str
/=
repeat
(
'Y'
,
n
))
call
abort
()
11
end subroutine
foo
12
13
call
foo
(
3
)
14
call
foo
(
10
)
15
end