2 ! { dg-options "-std=legacy" }
5 ! Test list directed reads from character substrings
6 ! The IO library was reporting an error rather the end-of-record when it
7 ! got to the end of an internal file record.
16 if (i
.ne
.1234567890) call abort
18 if (i
.ne
.1) call abort
20 if (i
.ne
.2) call abort
22 if (i
.ne
.12345) call abort
24 if (i
.ne
.567890) call abort
26 if (i
.ne
.0) call abort