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/char_unpack_1.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/char_unpack_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/char_unpack_1.f90 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gfortran.dg/char_unpack_1.f90 b/gcc/testsuite/gfortran.dg/char_unpack_1.f90 index 65dd888a8d8..cb2c52886c5 100644 --- a/gcc/testsuite/gfortran.dg/char_unpack_1.f90 +++ b/gcc/testsuite/gfortran.dg/char_unpack_1.f90 @@ -26,17 +26,17 @@ contains subroutine test (a) character (len = slen), dimension (:, :) :: a - if (size (a, 1) .ne. n1) call abort - if (size (a, 2) .ne. n2) call abort + if (size (a, 1) .ne. n1) STOP 1 + if (size (a, 2) .ne. n2) STOP 2 i = 0 do i2 = 1, n2 do i1 = 1, n1 if (mask (i1, i2)) then i = i + 1 - if (a (i1, i2) .ne. vector (i)) call abort + if (a (i1, i2) .ne. vector (i)) STOP 3 else - if (a (i1, i2) .ne. field (i1, i2)) call abort + if (a (i1, i2) .ne. field (i1, i2)) STOP 4 end if end do end do |