aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2018-03-02 08:51:06 +0000
committerPaul Thomas <pault@gcc.gnu.org>2018-03-02 08:51:06 +0000
commitbe86d201598e3b653acc6db1542b0c799c401e09 (patch)
treedcd608801d14ba568e1c439500e0f8e010e5e631 /gcc
parent0f2fca6fe8ed18b48bd25390082392dcb35e4d0c (diff)
downloadgcc-be86d201598e3b653acc6db1542b0c799c401e09.zip
gcc-be86d201598e3b653acc6db1542b0c799c401e09.tar.gz
gcc-be86d201598e3b653acc6db1542b0c799c401e09.tar.bz2
re PR fortran/84219 (Failure to generate error for IO of transfer intrinsic, when MOLD has derived type components.)
2018-03-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/84219 * gfortran.dg/coarray_47.f90: Use the correct test. From-SVN: r258128
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gfortran.dg/coarray_47.f903
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/coarray_47.f90 b/gcc/testsuite/gfortran.dg/coarray_47.f90
index c33eb9c..ad83920 100644
--- a/gcc/testsuite/gfortran.dg/coarray_47.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_47.f90
@@ -8,6 +8,5 @@ program p
integer, allocatable :: t
end type
type(t) :: x
- integer :: i = -1
- print *, transfer(i, x) ! { dg-error "cannot have ALLOCATABLE components" }
+ print *, transfer(1, x) ! { dg-error "cannot have ALLOCATABLE components" }
end