Debian Codegraph @

gcc/testsuite/g++.dg/lookup/using28.C

raw
1 // PR c++/26256
2 // { dg-do compile }
3
4 struct A { int f; };
5 struct B { int f; };
6 struct C : A, B { using B::f; };
7
8 struct D : C
9 {
10 void g() { f = 1; }
11 };