! { dg-do compile }module test
interfaceoperator(.bar.)module procedure func
end interfacecontainsfunctionfunc(a)integer,intent(in) :: a
integer:: funct
func = a+1end functionend module test
use test, only:operator(.func.)! { dg-error "not found in module 'test'" }end