summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08')
-rw-r--r--gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f0810
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08 b/gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08
index 75fd8b0d368..e87fc58b83f 100644
--- a/gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08
+++ b/gcc/testsuite/gfortran.dg/recursive_alloc_comp_4.f08
@@ -34,11 +34,11 @@ end module
b1%ia = 5
call move_alloc (d, a%c(2)%c)
- if (a%ia .ne. 1) call abort
- if (a%c(1)%ia .ne. 2) call abort
- if (a%c(2)%c(1)%ia .ne. 3) call abort
- if (a%c(2)%c(2)%ia .ne. 4) call abort
- if (a%c(2)%c(2)%c(1)%ia .ne. 5) call abort
+ if (a%ia .ne. 1) STOP 1
+ if (a%c(1)%ia .ne. 2) STOP 2
+ if (a%c(2)%c(1)%ia .ne. 3) STOP 3
+ if (a%c(2)%c(2)%ia .ne. 4) STOP 4
+ if (a%c(2)%c(2)%c(1)%ia .ne. 5) STOP 5
if (allocated (a)) deallocate (a)
if (allocated (d)) deallocate (d)