3 ! PR 47768: printing a derived-type variable with proc-pointer components
5 ! Contributed by Arjen Markus <arjen.markus895@gmail.com>
11 procedure(real), pointer, nopass
:: get_special_area
18 type(rectangle
) :: rect
19 write(*,*) rect
! { dg-error "cannot have procedure pointer components" }