PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / repeat_5.f90
blob48acea53f1c724ff58351598bafb79582232b30b
1 ! { dg-do compile }
3 ! PR32472 -- character literals were not implemented in REPEAT.
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
7 CHARACTER(len=1025) :: string2 = repeat('?',1025)
8 print *, string2
9 end