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/alloc_comp_constructor_6.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/alloc_comp_constructor_6.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/alloc_comp_constructor_6.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/alloc_comp_constructor_6.f90 b/gcc/testsuite/gfortran.dg/alloc_comp_constructor_6.f90 index b2ac4f723be..c235901f3f3 100644 --- a/gcc/testsuite/gfortran.dg/alloc_comp_constructor_6.f90 +++ b/gcc/testsuite/gfortran.dg/alloc_comp_constructor_6.f90 @@ -24,7 +24,7 @@ contains subroutine non_alloc type (mytype) :: x x = mytype(yy, bar) - if (allocated (x%a) .or. allocated (x%q)) call abort + if (allocated (x%a) .or. allocated (x%q)) STOP 1 end subroutine non_alloc subroutine alloc type (mytype) :: x @@ -33,6 +33,6 @@ contains yy = reshape ([10,20,30,40],[2,2]) bar = thytype (reshape ([1,2,3,4],[2,2])) x = mytype(yy, bar) - if (.not.allocated (x%a) .or. .not.allocated (x%q)) call abort + if (.not.allocated (x%a) .or. .not.allocated (x%q)) STOP 2 end subroutine alloc end program test_constructor |