diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90 index fecb5934007..75707481940 100644 --- a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90 +++ b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_21.f90 @@ -12,13 +12,13 @@ call associate_pointer(f,ptr) select type (ptr) type is (real) - if (abs (ptr(1) - 0.99) > 1e-5) call abort + if (abs (ptr(1) - 0.99) > 1e-5) STOP 1 end select ptr => return_pointer(f) ! runtime segmentation fault - if (associated(return_pointer(f)) .neqv. .true.) call abort + if (associated(return_pointer(f)) .neqv. .true.) STOP 2 select type (ptr) type is (real) - if (abs (ptr(1) - 0.99) > 1e-5) call abort + if (abs (ptr(1) - 0.99) > 1e-5) STOP 3 end select contains subroutine associate_pointer(this, item) |