diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-23 22:36:54 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-23 22:36:54 +0000 |
commit | 88a3ea34080ad3087a8191fbf479543153175d59 (patch) | |
tree | 34eaec34d3588e09f9a77abba776266f124dc823 /gcc/testsuite/gfortran.dg/dtio_12.f90 | |
parent | 25e15aaed275cdfef34b3ee6eb3cb4b43a48d44f (diff) | |
parent | e65055a558093bd4fc0b1b0024b7814cc187b8e8 (diff) | |
download | gcc-88a3ea34080ad3087a8191fbf479543153175d59.tar.gz |
Merge from trunk revision 257954.gccgo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gccgo@257955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg/dtio_12.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/dtio_12.f90 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gfortran.dg/dtio_12.f90 b/gcc/testsuite/gfortran.dg/dtio_12.f90 index cf1bfe38e2f..54b10cbfc0c 100644 --- a/gcc/testsuite/gfortran.dg/dtio_12.f90 +++ b/gcc/testsuite/gfortran.dg/dtio_12.f90 @@ -58,23 +58,23 @@ end module call baby%write_formatted(10, "abcd", v, istat, msg) ! Call the dtio proc directly rewind (10) read (10, *) msg - if (trim (msg) .ne. "99") call abort + if (trim (msg) .ne. "99") STOP 1 rewind (10) baby%i = 42 write (10,"(DT)") baby ! Call the dtio proc via the library rewind (10) read (10, *) msg - if (trim (msg) .ne. "42") call abort + if (trim (msg) .ne. "42") STOP 2 rewind (10) write (10,"(DT)") child (77) ! The original testcase rewind (10) read (10, *) msg - if (trim (msg) .ne. "77") call abort + if (trim (msg) .ne. "77") STOP 3 rewind (10) write (10,40) child (77) ! Modified using format label 40 format(DT) rewind (10) read (10, *) msg - if (trim (msg) .ne. "77") call abort + if (trim (msg) .ne. "77") STOP 4 close(10) end |