summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testIOS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/testIOS.cxx')
-rw-r--r--Source/kwsys/testIOS.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/testIOS.cxx b/Source/kwsys/testIOS.cxx
new file mode 100644
index 0000000..f1441f6
--- /dev/null
+++ b/Source/kwsys/testIOS.cxx
@@ -0,0 +1,11 @@
+#include <kwsys/stl/vector>
+#include <kwsys/ios/sstream>
+#include <kwsys/ios/iostream>
+
+int main()
+{
+ kwsys_ios::ostringstream ostr;
+ ostr << "Hello, World!";
+ kwsys_ios::cout << ostr.str() << kwsys_ios::endl;
+ return 0;
+}