1 // PR c++/26256
2 // { dg-do compile }
3 
4 struct A
5 {
6     int i;
7 };
8 
9 struct B
10 {
11     int i;
12 };
13 
14 struct C : A, B
15 {
16     using B::i;
17     int f ();
18 };
19 
f()20 int C::f()
21 {
22     return i;
23 }
24