#include <sstream>
std::stringstream GetStream() {
std::stringstream s("test");
return s;
}
auto main() -> int {
auto s = GetStream();
}
I2luY2x1ZGUgPHNzdHJlYW0+CgpzdGQ6OnN0cmluZ3N0cmVhbSBHZXRTdHJlYW0oKSB7CiAgICBzdGQ6OnN0cmluZ3N0cmVhbSBzKCJ0ZXN0Iik7CiAgICByZXR1cm4gczsKfQoKYXV0byBtYWluKCkgLT4gaW50IHsKICAgIGF1dG8gcyA9IEdldFN0cmVhbSgpOwp9