(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
deallocate_error_3.f90
! { dg-do compile }
! PR fortran/82994
! Code contributed by Gerhard Steinmetz
program p
   type t
   end type
   class(t) :: x  ! { dg-error "must be dummy, allocatable or pointer" }
   deallocate (x) ! { dg-error "not a nonprocedure pointer nor an allocatable" }
end