#include <iostream>
#include <fstream>
void out(std::ofstream &fout)
{
fout << "TEST";
}
int main()
{
std::ofstream fout{"test.txt"};
out(fout);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnN0cmVhbT4KCnZvaWQgb3V0KHN0ZDo6b2ZzdHJlYW0gJmZvdXQpCnsKICAgIGZvdXQgPDwgIlRFU1QiOwp9CgppbnQgbWFpbigpCnsKICAgIHN0ZDo6b2ZzdHJlYW0gZm91dHsidGVzdC50eHQifTsKCiAgICBvdXQoZm91dCk7CiAgICAKICAgIHJldHVybiAwOwp9