3 ! PR 54778: [OOP] an ICE on invalid OO code
5 ! Contributed by Sylwester Arabas <slayoo@staszic.waw.pl>
14 class(arr_t
) :: elem
! { dg-error "must be dummy, allocatable or pointer" }
16 elem
= this
! { dg-error "Nonallocatable variable must not be polymorphic in intrinsic assignment" }