// RUN: %clang_cc1 -fsyntax-only -verify %stypedefintf;namespaceN0{structA{friendvoidf();voidg(){inti=f(1);}};}namespaceN1{structA{friendvoidf(A&);operatorint();voidg(Aa){// ADL should not apply to the lookup of 'f', it refers to the typedef// above.inti=f(a);}};}