(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
coarray_47.f90
! { dg-do compile }
! { dg-options "-fcoarray=single" }
!
! Contributed by G Steinmetz  <gscfq@t-online.de>
!
program p
   type t
      integer, allocatable :: t
   end type
   type(t) :: x
   print *, transfer(1, x) ! { dg-error "cannot have ALLOCATABLE components" }
end