#include <cstdio>
class Test
{
public:
Test(){ printf("Test()\n"); };
~Test(){ printf("~Test()\n"); };
};
int main()
{
printf("--a--\n");
Test a;
printf("--b--\n");
Test b();
printf("--c--\n");
Test c = Test();
printf("--end--\n");
return 0;
}
I2luY2x1ZGUgPGNzdGRpbz4KCmNsYXNzIFRlc3QKewogICAgcHVibGljOgoJCVRlc3QoKXsgcHJpbnRmKCJUZXN0KClcbiIpOyB9OwoJCX5UZXN0KCl7IHByaW50ZigiflRlc3QoKVxuIik7IH07Cn07CgppbnQgbWFpbigpCnsKCXByaW50ZigiLS1hLS1cbiIpOwoJVGVzdCBhOwoJcHJpbnRmKCItLWItLVxuIik7CglUZXN0IGIoKTsKCXByaW50ZigiLS1jLS1cbiIpOwoJVGVzdCBjID0gVGVzdCgpOwoJcHJpbnRmKCItLWVuZC0tXG4iKTsKCXJldHVybiAwOwp9