#include <memory>
using namespace std;
class widget { };
int main() {
unique_ptr<widget> uptr{new widget};
shared_ptr<widget> sptr(std::move(uptr));
}
I2luY2x1ZGUgPG1lbW9yeT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKICAgIApjbGFzcyB3aWRnZXQgeyB9OwogICAgCmludCBtYWluKCkgewogICAgCiAgICB1bmlxdWVfcHRyPHdpZGdldD4gdXB0cntuZXcgd2lkZ2V0fTsKICAgIAogICAgc2hhcmVkX3B0cjx3aWRnZXQ+IHNwdHIoc3RkOjptb3ZlKHVwdHIpKTsKfQogICAg