1// PR c++/26102
2
3template <class T> struct B1 { int i(); };
4
5struct B2 { int i(); };
6
7template <class T> struct C : public B1<T>, public B2
8{
9  using B2::i;
10  void f()
11  {
12    i();			// should be accepted
13    i.i();			// { dg-error "member" }
14  }
15};
16
17int main()
18{
19  C<int> c;
20  c.f();			// { dg-message "required" }
21}
22