2 ! { dg-options "-std=f95" }
3 ! Renaming of operators
5 interface operator(.addfive
.)
11 integer,intent(in
) :: x
17 interface operator(.addfive
.)
23 integer,intent(in
) :: x
29 interface operator(.addfive
.)
35 integer,intent(in
) :: x
40 use x
, only
: operator(.bar
.) => operator(.addfive
.) ! { dg-error "Fortran 2003: Renaming operators in USE statements" }
41 use y
, operator(.my
.) => operator(.addfive
.) ! { dg-error "Fortran 2003: Renaming operators in USE statements" }