From 413b13e0e515334dff72c346d94912dd3ffad899 Mon Sep 17 00:00:00 2001 From: pault Date: Fri, 2 Mar 2018 08:51:06 +0000 Subject: [PATCH] 2018-03-02 Paul Thomas PR fortran/84219 * gfortran.dg/coarray_47.f90: Use the correct test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258128 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gfortran.dg/coarray_47.f90 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/testsuite/gfortran.dg/coarray_47.f90 b/gcc/testsuite/gfortran.dg/coarray_47.f90 index c33eb9c2d7c..ad83920fca5 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 -- 2.11.4.GIT