blob: 8e15f0e57a577739c2445a2f28a2f2679e30d7c7 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-std=f95" }
!
! PR 40940: [F03] CLASS statement
!
! Contributed by Janus Weil <janus@gcc.gnu.org>
type :: t
integer :: comp
end type
class(t), pointer :: cl ! { dg-error "CLASS statement" }
end