// PR c++/26256 // { dg-do compile } struct A { double next; }; struct B { private: int next; // { dg-error "private" } }; struct C { int next; }; struct D : A, B, C // { dg-error "context" } { using B::next; void f() { next = 12; } };