// { dg-do assemble }// Origin: Martin v. L�wis <loewis@informatik.hu-berlin.de>// Test that a friend declaration with an explicit :: finds the right fn.namespaceM{classS;}voidfoo(M::S*);namespaceM{classS{friendvoid(::foo)(S*);voidFn();staticSs;};}void(foo)(M::S*ptr){M::S::s.Fn();ptr->Fn();}