☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
duperr1.C
☽
☼
gcc/testsuite/g++.dg/lookup/duperr1.C
code
plain
raw
1
// PR c++/29048
2
3
class A { int i; }; // { dg-bogus "is private.*is private" }
4
// { dg-message "private" "" { target *-*-* } .-1 }
5
class B:public A { B() { A::i=0; } }; // { dg-error "within this context" }