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/c_f_pointer_tests.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/c_f_pointer_tests.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/c_f_pointer_tests.f90 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/c_f_pointer_tests.f90 b/gcc/testsuite/gfortran.dg/c_f_pointer_tests.f90 index 1e4dbc0201f..18c3525f3cd 100644 --- a/gcc/testsuite/gfortran.dg/c_f_pointer_tests.f90 +++ b/gcc/testsuite/gfortran.dg/c_f_pointer_tests.f90 @@ -38,16 +38,16 @@ module c_f_pointer_tests call c_f_pointer(myCDerived, myF90Type) ! make sure numbers are ok. initialized in c_f_tests_driver.c if(myF90Type%cInt .ne. 1) then - call abort() + STOP 1 endif if(myF90Type%cDouble .ne. 2.0d0) then - call abort() + STOP 2 endif if(myF90Type%cFloat .ne. 3.0) then - call abort() + STOP 3 endif if(myF90Type%cShort .ne. 4) then - call abort() + STOP 4 endif shapeArray(1) = arrayLen @@ -62,7 +62,7 @@ module c_f_pointer_tests (derivedArray2D(dim1, dim2)%cDouble .ne. 4.0d0) .or. & (derivedArray2D(dim1, dim2)%cFloat .ne. 4.0) .or. & (derivedArray2D(dim1, dim2)%cShort .ne. 4)) then - call abort() + STOP 5 endif end subroutine testDerivedPtrs end module c_f_pointer_tests |