Commit be86d201 by Paul Thomas

re PR fortran/84219 (Failure to generate error for IO of transfer intrinsic,…

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
parent 0f2fca6f
...@@ -8,6 +8,5 @@ program p ...@@ -8,6 +8,5 @@ program p
integer, allocatable :: t integer, allocatable :: t
end type end type
type(t) :: x type(t) :: x
integer :: i = -1 print *, transfer(1, x) ! { dg-error "cannot have ALLOCATABLE components" }
print *, transfer(i, x) ! { dg-error "cannot have ALLOCATABLE components" }
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment