3 ! PR 46060: [F03] procedure pointer component referenced without argument list
5 ! Contributed by Stephen J. Bespalko <sjbespa@comcast.net>
10 function name_func (ivar
) result (res
)
11 integer, intent(in
) :: ivar
12 character(len
=8) :: res
13 end function name_func
17 procedure(name_func
), nopass
, pointer :: name
20 type(var_type
) :: vars
23 name
= vars
%name
! { dg-error "requires an argument list" }