(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
pr107681.f90
! { dg-do compile }
! { dg-options "-fcoarray=lib" }
! PR fortran/107681 - ICE in gfc_type_is_extensible
! Contributed by G.Steinmetz

program p
  type t
     integer, allocatable :: a
  end type
  class(t) :: x[*]   ! { dg-error "must be dummy, allocatable or pointer" }
  associate (y => x) ! { dg-error "Invalid array reference" }
  end associate
end