2 ! Renaming of operators
13 type(myT
),intent(in
) :: x
19 interface operator(.addfive
.)
25 integer,intent(in
) :: x
31 interface operator(.addfive
.)
37 integer,intent(in
) :: x
42 use z
, operator(-) => operator(+) ! { dg-error "Syntax error in USE statement" }
43 use z
, operator(.op
.) => operator(+) ! { dg-error "Syntax error in USE statement" }
44 use x
, only
: bar
=> operator(.addfive
.) ! { dg-error "Syntax error in USE statement" }
45 use y
, operator(.my
.) => sub
! { dg-error "Syntax error in USE statement" }
46 use y
, operator(+) => operator(.addfive
.) ! { dg-error "Syntax error in USE statement" }