3 ! PR 41733: Proc-pointer conformance checks: Elemental-proc-ptr => non-elemental-procedure
5 ! Contributed by James Van Buskirk
10 real elemental
function fun(x
)
25 procedure(fun
), pointer :: f
! { dg-error "Procedure pointer 'f' at .1. shall not be elemental" }
28 f
=> my_dcos
! { dg-error "Mismatch in PURE attribute" }