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/function_kinds_4.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/function_kinds_4.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/function_kinds_4.f90 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/function_kinds_4.f90 b/gcc/testsuite/gfortran.dg/function_kinds_4.f90 index d0e48f6b4d2..6d800ee6fdc 100644 --- a/gcc/testsuite/gfortran.dg/function_kinds_4.f90 +++ b/gcc/testsuite/gfortran.dg/function_kinds_4.f90 @@ -19,7 +19,7 @@ integer(i1) function three() use m1, only: i2 use m2 ! This provides the function kind three = i1 - if(three /= kind(three)) call abort() + if(three /= kind(three)) STOP 1 end function three ! At one stage during the development of the patch, this started failing @@ -39,17 +39,17 @@ implicit none real (kind(0d0)) foo i = one() i = two() - if(three() /= 8) call abort() - if (int(foo()) /= 8) call abort () + if(three() /= 8) STOP 2 + if (int(foo()) /= 8) STOP 3 contains integer(i1) function one() ! Host associated kind - if (kind(one) /= 4) call abort() + if (kind(one) /= 4) STOP 4 one = 1 end function one integer(i1) function two() ! Use associated kind use m1, only: i2 use m2 - if (kind(two) /= 8) call abort() + if (kind(two) /= 8) STOP 5 two = 1 end function two end program main |