blob: 2a96ed7a060c5614260e045d020a506c8a4e56ec [file] [log] [blame]
// { dg-do assemble }
class X {
public:
void x(void);
};
class Y : public X {
};
class Z : private Y {
public:
void y(void);
};
void Z::y(void) {
x(); // should be OK
}