URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [list_read_2.f90] - Rev 823
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }! PR16805! Test list directed reads from character substrings! The IO library was reporting an error rather the end-of-record when it! got to the end of an internal file record.program list_read_2implicit nonecharacter*10 adata a /'1234567890'/integer ilogical debugdata debug /.TRUE./read(a,*)iif (i.ne.1234567890) call abortread(a(1:1),*)iif (i.ne.1) call abortread(a(2:2),*)iif (i.ne.2) call abortread(a(1:5),*)iif (i.ne.12345) call abortread(a(5:10),*)iif (i.ne.567890) call abortread(a(10:10),*)iif (i.ne.0) call abortend
Go to most recent revision | Compare with Previous | Blame | View Log
