Commit 33437ca0 by Danny Smith Committed by Danny Smith

* gfortran.dg/dev_null.f90. Remove and replace with...

	* gfortran.dg/dev_null.F90: Use preprocessor define to
	generalize the DEV_NULL name.

From-SVN: r134955
parent bba74577
2008-05-05 Danny Smith <dannysmith@users.sourceforge.net>
* gfortran.dg/dev_null.f90. Remove and replace with...
* gfortran.dg/dev_null.F90: Use preprocessor define to
generalize the DEV_NULL name.
2008-05-05 Andrew Pinski <andrew.pinski@playstation.sony.com> 2008-05-05 Andrew Pinski <andrew.pinski@playstation.sony.com>
* gcc.dg/tree-ssa/forwprop-5.c: New testcase. * gcc.dg/tree-ssa/forwprop-5.c: New testcase.
! { dg-do run } ! { dg-do run }
! pr19478 read from /dev/null ! pr19478 read from /dev/null
! Thomas.Koenig@online.de ! Thomas.Koenig@online.de
#if defined _WIN32
#define DEV_NULL "nul"
#else
#define DEV_NULL "/dev/null"
#endif
character*20 foo character*20 foo
open(10,file="/dev/null") open(10,file=DEV_NULL)
write(10,'(A)') "Hello" write(10,'(A)') "Hello"
rewind(10) rewind(10)
read(10,'(A)',end=100) foo read(10,'(A)',end=100) foo
......
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