diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/constructor_2.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/constructor_2.f90 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/gfortran.dg/constructor_2.f90 b/gcc/testsuite/gfortran.dg/constructor_2.f90 index 294319aebce..31c72150774 100644 --- a/gcc/testsuite/gfortran.dg/constructor_2.f90 +++ b/gcc/testsuite/gfortran.dg/constructor_2.f90 @@ -18,9 +18,9 @@ contains subroutine test_foo() type(foo) :: f f = foo() - if (f%bar /= 1) call abort () + if (f%bar /= 1) STOP 1 f = foo(2) - if (f%bar /= 2) call abort () + if (f%bar /= 2) STOP 2 end subroutine test_foo end module foo_module @@ -43,9 +43,9 @@ contains subroutine test_bar() type(bar) :: f f = bar() - if (f%bar /= 3) call abort () + if (f%bar /= 3) STOP 3 f = bar(4) - if (f%bar /= 4) call abort () + if (f%bar /= 4) STOP 4 end subroutine test_bar end module bar_module @@ -59,14 +59,14 @@ program main call test_foo() f = foo() - if (f%bar /= 1) call abort () + if (f%bar /= 1) STOP 5 f = foo(2) - if (f%bar /= 2) call abort () + if (f%bar /= 2) STOP 6 call test_bar() b = bar() - if (b%bar /= 3) call abort () + if (b%bar /= 3) STOP 7 b = bar(4) - if (b%bar /= 4) call abort () + if (b%bar /= 4) STOP 8 end program main |