! { 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