summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp b/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp
index f4b91c97a74..bae10783837 100644
--- a/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp
+++ b/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/str.pass.cpp
@@ -15,11 +15,13 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
const char buf[] = "123 4.5 dog";
std::istrstream in(buf);
assert(in.str() == std::string("123 4.5 dog"));
}
+
+ return 0;
}
OpenPOWER on IntegriCloud