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