blob: cfb348d49cde5b1dfe94c2076548da1e0e0f72e2 (
plain)
1
2
3
4
5
|
// PR c++/29048
class A { int i; }; // { dg-bogus "is private.*is private" }
// { dg-error "is private" "" { target *-*-* } 3 }
class B:public A { B() { A::i=0; } }; // { dg-error "within this context" }
|