#include <iostream>
using namespace std;
struct Common
{
void print() {
cout << "hello\n";
}
};
struct Foo : private Common
{
using Common::print;
};
int main()
{
Foo p;
p.print();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IENvbW1vbgp7Cgl2b2lkIHByaW50KCkgewoJCWNvdXQgPDwgImhlbGxvXG4iOwoJfQp9OwoKc3RydWN0IEZvbyA6IHByaXZhdGUgQ29tbW9uCnsKCXVzaW5nIENvbW1vbjo6cHJpbnQ7Cn07CgppbnQgbWFpbigpIAp7CglGb28gcDsKCXAucHJpbnQoKTsKCXJldHVybiAwOwp9