mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 22:21:23 +08:00
namelist_38.f90: Delete test for revertion of r128057.
2007-09-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/namelist_38.f90: Delete test for revertion of r128057. From-SVN: r128858
This commit is contained in:
parent
9a1e025540
commit
3e60eff0f3
@ -1,3 +1,8 @@
|
||||
2007-09-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
* gfortran.dg/namelist_38.f90: Delete test for revertion of
|
||||
r128057.
|
||||
|
||||
2007-09-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
|
||||
|
||||
PR middle-end/7003
|
||||
|
@ -1,36 +0,0 @@
|
||||
! { dg-do run }
|
||||
! PR33253 namelist: reading back a string, also fixed writing with delimiters.
|
||||
! Test case modified from that of the PR by
|
||||
! Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
program main
|
||||
implicit none
|
||||
character(len=3) :: a
|
||||
namelist /foo/ a
|
||||
|
||||
open(10, status="scratch", delim="quote")
|
||||
a = 'a"a'
|
||||
write(10,foo)
|
||||
rewind 10
|
||||
a = ""
|
||||
read (10,foo) ! This gave a runtime error before the patch.
|
||||
if (a.ne.'a"a') call abort
|
||||
close (10)
|
||||
|
||||
open(10, status="scratch", delim="apostrophe")
|
||||
a = "a'a"
|
||||
write(10,foo)
|
||||
rewind 10
|
||||
a = ""
|
||||
read (10,foo)
|
||||
if (a.ne."a'a") call abort
|
||||
close (10)
|
||||
|
||||
open(10, status="scratch", delim="none")
|
||||
a = "a'a"
|
||||
write(10,foo)
|
||||
rewind 10
|
||||
a = ""
|
||||
read (10,foo)
|
||||
if (a.ne."a'a") call abort
|
||||
close (10)
|
||||
end program main
|
Loading…
x
Reference in New Issue
Block a user