Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / backslash_1.f90
blob8785c8b844d6cc3629c7139babf5a7feb114fda5
1 ! { dg-do run }
2 character(len=4) a
3 open (10, status='scratch')
4 write (10,'(A)') '1\n2'
5 rewind (10)
6 read (10,'(A)') a
7 if (a /= '1\n2') STOP 1
8 end