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/constructor_2.f90 | |
parent | 25e15aaed275cdfef34b3ee6eb3cb4b43a48d44f (diff) | |
parent | e65055a558093bd4fc0b1b0024b7814cc187b8e8 (diff) | |
download | gcc-88a3ea34080ad3087a8191fbf479543153175d59.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/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 |