Debian Codegraph @

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

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