1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
! { 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