2 ! Error recovery on invalid CLASS(), PARAMETER declarations
7 ! Contributed by G.Steinmetz
11 character(3) :: c
= '(a)'
13 class(t
), parameter :: x
= 1. ! { dg-error "PARAMETER attribute" }
14 class(*), parameter :: y
= t() ! { dg-error "PARAMETER attribute" }
15 class(*), parameter :: z
= 1 ! { dg-error "PARAMETER attribute" }
16 print x
%c
! { dg-error "Syntax error" }