CMake/Modules/TestForSSTREAM.cxx

11 lines
150 B
C++
Raw Normal View History

#include <sstream>
int main(int, char* [])
{
std::ostringstream os;
os << "12345";
if (os.str().size() == 5) {
return 0;
}
return -1;
}