summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90 b/gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90
index dc5253dd6d0..e8a3a59318c 100644
--- a/gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90
+++ b/gcc/testsuite/gfortran.dg/proc_ptr_comp_pass_2.f90
@@ -16,14 +16,14 @@ contains
subroutine print_me (arg, lun)
class(t), intent(in) :: arg
integer, intent(in) :: lun
- if (abs(arg%a-2.718)>1E-6) call abort()
+ if (abs(arg%a-2.718)>1E-6) STOP 1
write (lun,*) arg%a
end subroutine print_me
subroutine print_my_square (arg, lun)
class(t), intent(in) :: arg
integer, intent(in) :: lun
- if (abs(arg%a-2.718)>1E-6) call abort()
+ if (abs(arg%a-2.718)>1E-6) STOP 2
write (lun,*) arg%a**2
end subroutine print_my_square