re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr20086.f90
blob674261e3cf724639d7dbf4651750202e820554c2
1 ! { dg-do run }
2 ! { dg-options "-std=legacy" }
4 ! PR 20086 - Missing characters in output with hollerith strings
5 implicit none
6 character*80 line
7 write(line,2070)
8 if (line.ne.' stiffness reformed for this high step')STOP 1
9 write(line,2090)
10 if (line.ne.' stiffness reformed for hello hello')STOP 2
11 stop
13 2070 format (2x,37hstiffness reformed for this high step)
14 2090 format (2x,34hstiffness reformed for hello hello)
16 end