3 ! PR 40869: [F03] PPC assignment checking
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
10 procedure f1
,f2
! { dg-error "Ambiguous interfaces" }
13 interface operator(.op
.)
14 procedure f1
,f2
! { dg-error "Ambiguous interfaces" }
18 procedure(integer), pointer, nopass
:: ppc
22 procedure(real), pointer, nopass
:: ppc
27 procedure(logical),pointer :: pp1
28 procedure(complex),pointer :: pp2
30 pp1
=> pp2
! { dg-error "Type/kind mismatch" }
31 pp2
=> o2
%ppc
! { dg-error "Type/kind mismatch" }
33 o1
%ppc
=> pp1
! { dg-error "Type/kind mismatch" }
34 o1
%ppc
=> o2
%ppc
! { dg-error "Type/kind mismatch" }
39 real,intent(in
) :: a
,b
43 integer function f2(a
,b
)
44 real,intent(in
) :: a
,b