blob: 512396455bd02e3957ba787756ab08f4906c1fae [file] [log] [blame]
! { dg-do run }
! { dg-options "-finit-character=89" }
!
! PR fortran/51800
!
subroutine foo(n)
character(len=n) :: str
! print *, str
if (str /= repeat ('Y', n)) call abort()
end subroutine foo
call foo(3)
call foo(10)
end