// Origin: PR c++/48656 // { dg-options "-std=c++0x" } // { dg-do compile } struct A { int f(); int f(int); }; template struct B : A { }; template struct C : B { void g() { A::f(); } };