(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.fortran-torture/
execute/
entry_8.f90
module entry_8_m
type t
  integer i
  real x (5)
end type t
end module entry_8_m

function f (i)
  use entry_8_m
  type (t) :: f,g
  f % i = i
  return
  entry g (x)
  g%x = x
end function f

use entry_8_m
type (t) :: f, g, res

res = f (42)
if (res%i /= 42) STOP 1
res = g (1.)
if (any (res%x /= 1.)) STOP 2
end