#include <iostream>
using namespace std;
class CL{
public :
struct{
public :
void test1(){
cout << "test1が実行されました\n";
}
struct{
public :
void test2(){
cout << "test2が実行されました\n";
}
}st2;
}st1;
};
int main(){
CL cl;
cl.st1.test1();
cl.st1.st2.test2();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgQ0x7CglwdWJsaWMgOgoJCXN0cnVjdHsKCQkJcHVibGljIDoKCQkJCXZvaWQgdGVzdDEoKXsKCQkJCQljb3V0IDw8ICJ0ZXN0MeOBjOWun+ihjOOBleOCjOOBvuOBl+OBn1xuIjsKCQkJCX0KCQkJCQoJCQkJc3RydWN0ewoJCQkJCXB1YmxpYyA6CgkJCQkJCXZvaWQgdGVzdDIoKXsKCQkJCQkJCWNvdXQgPDwgInRlc3Qy44GM5a6f6KGM44GV44KM44G+44GX44GfXG4iOwoJCQkJCQl9CgkJCQl9c3QyOwoJCX1zdDE7Cn07CmludCBtYWluKCl7CglDTCBjbDsKCQoJY2wuc3QxLnRlc3QxKCk7CgljbC5zdDEuc3QyLnRlc3QyKCk7CgkKCXJldHVybiAwOwp9