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/optional_dim_3.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/optional_dim_3.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/optional_dim_3.f90 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gfortran.dg/optional_dim_3.f90 b/gcc/testsuite/gfortran.dg/optional_dim_3.f90 index fc66ba5b843..509d8e422f0 100644 --- a/gcc/testsuite/gfortran.dg/optional_dim_3.f90 +++ b/gcc/testsuite/gfortran.dg/optional_dim_3.f90 @@ -12,13 +12,13 @@ contains real, dimension(:,:) :: a s1 = (/1, 1/) write(testbuf,'(4F10.2)') cshift(a, shift=s1) - if (testbuf /= " 2.00 1.00 4.00 3.00") CALL abort + if (testbuf /= " 2.00 1.00 4.00 3.00") STOP 1 write(testbuf,'(4F10.2)') cshift(a,shift=s1,dim=n2) - if (testbuf /= " 2.00 1.00 4.00 3.00") CALL abort + if (testbuf /= " 2.00 1.00 4.00 3.00") STOP 2 write(testbuf,'(4F10.2)') eoshift(a,shift=s1,dim=n1) - if (testbuf /= " 2.00 0.00 4.00 0.00") CALL abort + if (testbuf /= " 2.00 0.00 4.00 0.00") STOP 3 write(testbuf,'(4F10.2)') eoshift(a,shift=s1,dim=n2) - if (testbuf /= " 2.00 0.00 4.00 0.00") CALL abort + if (testbuf /= " 2.00 0.00 4.00 0.00") STOP 4 end subroutine tst_optional subroutine sub(bound, dimmy) integer(kind=8), optional :: dimmy @@ -28,12 +28,12 @@ contains lotto = .false. lotto = cshift((/.true.,.false.,.true.,.false./),1,dim=dimmy) write(testbuf,*) lotto - if (trim(testbuf).ne." F T F T") call abort + if (trim(testbuf).ne." F T F T") STOP 5 lotto = .false. lotto = eoshift((/.true.,.true.,.true.,.true./),1,boundary=bound,dim=dimmy) lotto = eoshift(lotto,1,dim=dimmy) write(testbuf,*) lotto - if (trim(testbuf).ne." T T F F") call abort + if (trim(testbuf).ne." T T F F") STOP 6 end subroutine end module tst_foo |