blob: fff77f25749f4dfb66921ed9c0891365e0013401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Bug: access declarations are broken.
// Build don't link:
class A {
public:
void foo ();
};
class B: private A {
public:
A::foo;
};
void foo() {
B b;
b.foo (); // gets bogus error -
}
|