summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp b/libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp
index b8088f651aa..57a88c95767 100644
--- a/libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp
+++ b/libcxx/test/std/depr/depr.ios.members/open_mode.pass.cpp
@@ -20,10 +20,12 @@
#include <strstream>
#include <cassert>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
std::strstream::open_mode b = std::strstream::app;
assert(b == std::ios::app);
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud