summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f9022
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90 b/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
index c6de955c020..c08378816ca 100644
--- a/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
@@ -16,24 +16,24 @@ program test_caf_alloc
allocate (xx[*])
- if (allocated(xx%i)) call abort()
- if (allocated(xx[1]%i)) call abort()
- if (allocated(xx[1]%r)) call abort()
+ if (allocated(xx%i)) STOP 1
+ if (allocated(xx[1]%i)) STOP 2
+ if (allocated(xx[1]%r)) STOP 3
allocate(xx%i)
- if (.not. allocated(xx[1]%i)) call abort()
- if (allocated(xx[1]%r)) call abort()
+ if (.not. allocated(xx[1]%i)) STOP 4
+ if (allocated(xx[1]%r)) STOP 5
allocate(xx%r(5))
- if (.not. allocated(xx[1]%i)) call abort()
- if (.not. allocated(xx[1]%r)) call abort()
+ if (.not. allocated(xx[1]%i)) STOP 6
+ if (.not. allocated(xx[1]%r)) STOP 7
deallocate(xx%i)
- if (allocated(xx[1]%i)) call abort()
- if (.not. allocated(xx[1]%r)) call abort()
+ if (allocated(xx[1]%i)) STOP 8
+ if (.not. allocated(xx[1]%r)) STOP 9
deallocate(xx%r)
- if (allocated(xx[1]%i)) call abort()
- if (allocated(xx[1]%r)) call abort()
+ if (allocated(xx[1]%i)) STOP 10
+ if (allocated(xx[1]%r)) STOP 11
deallocate(xx)
end