Commit 804ac232 by Jerry DeLisle

fmt_t_7.f: Replace CR-LF with LF.

2008-08-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/fmt_t_7.f: Replace CR-LF with LF.

From-SVN: r138568
parent b7c9c5ab
2008-08-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/fmt_t_7.f: Replace CR-LF with LF.
2008-08-03 Uros Bizjak <ubizjak@gmail.com> 2008-08-03 Uros Bizjak <ubizjak@gmail.com>
PR target/36992 PR target/36992
......
! { dg-do run { target fd_truncate } } ! { dg-do run { target fd_truncate } }
! PR34974 null bytes when reverse-tabbing long records ! PR34974 null bytes when reverse-tabbing long records
! Test case prpared by Jerry DeLisle <jvdelisle@gcc.gnu.org> ! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program test program test
character(1) :: a, b, c character(1) :: a, b, c
write (10,'(t50000,a,t1,a)') 'b', 'a' write (10,'(t50000,a,t1,a)') 'b', 'a'
close (10) close (10)
open (10, access="stream") open (10, access="stream")
read (10, pos=1) a read (10, pos=1) a
read (10, pos=50000) b read (10, pos=50000) b
read (10, pos=25474) c read (10, pos=25474) c
close (10, status="delete") close (10, status="delete")
if (a /= "a") call abort if (a /= "a") call abort
if (b /= "b") call abort if (b /= "b") call abort
if (c /= " ") call abort if (c /= " ") call abort
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment