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/initialization_2.f90 | |
parent | 25e15aaed275cdfef34b3ee6eb3cb4b43a48d44f (diff) | |
parent | e65055a558093bd4fc0b1b0024b7814cc187b8e8 (diff) | |
download | gccgo.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/initialization_2.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/initialization_2.f90 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/initialization_2.f90 b/gcc/testsuite/gfortran.dg/initialization_2.f90 index cfc08499b42..adcc87b54d9 100644 --- a/gcc/testsuite/gfortran.dg/initialization_2.f90 +++ b/gcc/testsuite/gfortran.dg/initialization_2.f90 @@ -14,9 +14,9 @@ program test integer :: b3(4) = a(1, v, 3) integer :: b4(3,3) = a(v([2,4,3]), 2, [2,3,4]) - if (any(b1 /= reshape([21,22,23, 37,38,39, 53,54,55], [3,3]))) call abort() - if (any(b2 /= reshape([14, 62, 46], [1,3]))) call abort() - if (any(b2b /= [53, 56, 55])) call abort() - if (any(b3 /= [45, 33, 41, 37])) call abort() - if (any(b4 /= reshape([21,22,23, 37,38,39, 53,54,55], [3,3]))) call abort() + if (any(b1 /= reshape([21,22,23, 37,38,39, 53,54,55], [3,3]))) STOP 1 + if (any(b2 /= reshape([14, 62, 46], [1,3]))) STOP 2 + if (any(b2b /= [53, 56, 55])) STOP 3 + if (any(b3 /= [45, 33, 41, 37])) STOP 4 + if (any(b4 /= reshape([21,22,23, 37,38,39, 53,54,55], [3,3]))) STOP 5 end program test |