Debian Codegraph @

gcc/testsuite/gfortran.dg/init_flag_9.f90

raw
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)) STOP 1
11 end subroutine foo
12
13 call foo(3)
14 call foo(10)
15 end