3 ! PR 88047: [9 Regression] ICE in gfc_find_vtab, at fortran/class.c:2843
5 ! Contributed by G. Steinmetz <gscfq@t-online.de>
10 class(t
) :: x(2) ! { dg-error "must be dummy, allocatable or pointer" }
11 class(t
), parameter :: a(2) = t() ! { dg-error "cannot have the PARAMETER attribute" }
12 x
= a
! { dg-error "Nonallocatable variable must not be polymorphic in intrinsic assignment" }
19 class(t
) :: a
, x
! { dg-error "must be dummy, allocatable or pointer" }
20 x
= a
! { dg-error "Nonallocatable variable must not be polymorphic in intrinsic assignment" }