// PR c++/26102 template struct B1 { int i(); }; struct B2 { int i(); }; template struct C : public B1, public B2 { using B2::i; void f() { i(); // should be accepted i.i(); // { dg-error "member" } } }; int main() { C c; c.f(); }