OSDN Git Service

2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / using28.C
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 };