3 ! PR 68440: [OOP] ICE on declaring class variable with wrong attribute
5 ! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
10 class(t
), parameter :: x
= t() ! { dg-error "cannot have the PARAMETER attribute" }
11 class(t
), parameter :: y
= x
! { dg-error "cannot have the PARAMETER attribute" }
12 class(t
) :: z
= x
! { dg-error "must be dummy, allocatable or pointer" }