diff options
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) |