3 ! PR 41719: [OOP] invalid: Intrinsic assignment involving polymorphic variables
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
13 type, extends(t1) :: t2
17 class(t1),pointer :: cp
23 cp = x ! { dg-error "Nonallocatable variable must not be polymorphic" }