// { dg-do compile } // Origin: Giovanni Bajo // Two-phase name lookup for address of member: // Overloading function struct S { int f(); int f(int); }; template struct X {}; template struct Foo { X<&S::f> x; };