1! { dg-do compile }
2module test
3  interface operator(.bar.)
4     module procedure func
5  end interface
6contains
7function func(a)
8  integer,intent(in) :: a
9  integer :: funct
10  func = a+1
11end function
12end module test
13
14use test, only: operator(.func.) ! { dg-error "not found in module 'test'" }
15end
16