3 ! PR 41733: Proc-pointer conformance checks: Elemental-proc-ptr => non-elemental-procedure
5 ! Contributed by James Van Buskirk
8 procedure(my_dcos
), pointer :: f
! { dg-error "Procedure pointer 'f' at .1. shall not be elemental" }
9 f
=> my_dcos
! { dg-error "Nonintrinsic elemental procedure 'my_dcos' is invalid in procedure pointer assignment" }
11 real elemental
function my_dcos(x
)