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_pointer_func.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/char_pointer_func.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/char_pointer_func.f90 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/char_pointer_func.f90 b/gcc/testsuite/gfortran.dg/char_pointer_func.f90 index 23f867eeb45..6338b380971 100644 --- a/gcc/testsuite/gfortran.dg/char_pointer_func.f90 +++ b/gcc/testsuite/gfortran.dg/char_pointer_func.f90 @@ -12,18 +12,18 @@ program char_pointer_func allocate (c1, c2(1)) ! Check that we have not broken non-pointer characters. c0 = foo () - if (c0 /= "abcd") call abort () + if (c0 /= "abcd") STOP 1 ! Value assignments c1 = sfoo () - if (c1 /= "abcd") call abort () + if (c1 /= "abcd") STOP 2 c2 = afoo (c0) - if (c2(1) /= "abcd") call abort () + if (c2(1) /= "abcd") STOP 3 deallocate (c1, c2) ! Pointer assignments c1 => sfoo () - if (c1 /= "abcd") call abort () + if (c1 /= "abcd") STOP 4 c2 => afoo (c0) - if (c2(1) /= "abcd") call abort () + if (c2(1) /= "abcd") STOP 5 deallocate (c1, c2) contains function foo () result (cc1) |