2 ! { dg
-options
"-std=legacy" }
4 ! PR25631 Check that TL editing works
for special case of no bytes written yet
.
5 ! Contributed by Jerry DeLisle
<jvdelisle@gcc
.gnu
.org
>
10 10 format(tr2
,tl2
,g11
.4
)
11 if (line
.ne
.' 12.34 ') STOP 1
13 20 format(tr5
,tl3
,g11
.4
)
14 if (line
.ne
.' 12.34 ') STOP 2
16 30 format(tr5
,tl3
,tl3
,g11
.4
)
17 if (line
.ne
.' 12.34 ') STOP 3
19 40 format(tr25
,tl35
,f11
.4
)
20 if (line
.ne
.' 12.3400 ') STOP 4
22 50 format(tl5
,tr3
,f11
.4
)
23 if (line
.ne
.' 12.3400 ') STOP 5
25 60 format(t5
,tl3
,f11
.4
)
26 if (line
.ne
.' 12.3400 ') STOP 6