summaryrefslogtreecommitdiffstats
path: root/Modules/TestForSSTREAM.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/TestForSSTREAM.cxx')
-rw-r--r--Modules/TestForSSTREAM.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/TestForSSTREAM.cxx b/Modules/TestForSSTREAM.cxx
new file mode 100644
index 0000000..af4a4bb
--- /dev/null
+++ b/Modules/TestForSSTREAM.cxx
@@ -0,0 +1,11 @@
+#include <sstream>
+int main(int, char*[])
+{
+ std::ostringstream os;
+ os << "12345";
+ if(os.str().size() == 5)
+ {
+ return 0;
+ }
+ return -1;
+}