2 ! { dg-options "-fcoarray=lib" }
3 ! PR fortran/107681 - ICE in gfc_type_is_extensible
4 ! Contributed by G.Steinmetz
8 integer, allocatable
:: a
10 class(t
) :: x
[*] ! { dg-error "must be dummy, allocatable or pointer" }
11 associate (y
=> x
) ! { dg-error "Invalid array reference" }