aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr88357_2.f90
blob: d89511b103a03badf99cb6e8ab30a0764b4d05fa (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
program p
   type t
   end type
   class(t) :: x     ! { dg-error "must be dummy, allocatable or pointer" }
   associate (y => x)
   end associate
end