diff options
Diffstat (limited to 'Modules/TestForSSTREAM.cxx')
-rw-r--r-- | Modules/TestForSSTREAM.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/TestForSSTREAM.cxx b/Modules/TestForSSTREAM.cxx new file mode 100644 index 000000000..af4a4bbef --- /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; +} |