aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-10-13 16:28:19 -0700
committerDan Albert <danalbert@google.com>2015-10-13 16:28:19 -0700
commita8c075f72b231c37823661ba0d7d082a21cd39d9 (patch)
tree395aa3b848d56037292e50466643453485073018 /gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90
parent5aff2e0142aca13849b4e51de503e71d5010efa6 (diff)
downloadtoolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.gz
toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.tar.bz2
toolchain_gcc-a8c075f72b231c37823661ba0d7d082a21cd39d9.zip
Remove gcc-4.8.
Change-Id: Iee9c6985c613f58c82e33a91722d371579eb290f
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90')
-rw-r--r--gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f9021
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90 b/gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90
deleted file mode 100644
index ad6da29f1..000000000
--- a/gcc-4.8/gcc/testsuite/gfortran.dg/coarray_17.f90
+++ /dev/null
@@ -1,21 +0,0 @@
-! { dg-do compile }
-! { dg-options "-fcoarray=single" }
-!
-! Two simple diagnostics, which were initially not thought of
-!
-! General coarray PR: PR fortran/18918
-!
-
-subroutine one
- integer, allocatable :: a(:)[:,:] ! corank = 2
- integer :: index,nn1,nn2,nn3,mm0
-
- allocate(a(mm0)[nn1:nn2,nn3,*]) ! { dg-error "Too many codimensions at .1., expected 2 not 3" }
-end subroutine one
-
-subroutine two
- integer, allocatable :: a(:)[:,:,:], b(:)[:,:], c(:)[:]
- index1 = image_index(a, [2, 1, 1] ) !OK
- index2 = image_index(b, [2, 1, 1] ) ! { dg-error "array elements of the SUB argument to IMAGE_INDEX at .1. shall be 2 .corank. not 3" }
- index3 = image_index(c, [1] ) !OK
-end subroutine two