summaryrefslogtreecommitdiffstats
path: root/Modules/TestForSSTREAM.cxx
blob: 83a75e4781d6b4c230f68e0478bae60ffa8e6daa (plain)
1
2
3
4
5
6
7
8
9
10
#include <sstream>
int main(int, char* [])
{
  std::ostringstream os;
  os << "12345";
  if (os.str().size() == 5) {
    return 0;
  }
  return -1;
}