summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp')
-rw-r--r--libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp b/libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp
index 7af7c97e25e..7e95727033a 100644
--- a/libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp
+++ b/libcxx/test/std/depr/depr.ios.members/streampos.pass.cpp
@@ -20,9 +20,11 @@
#include <ios>
#include <type_traits>
-int main()
+int main(int, char**)
{
#if TEST_STD_VER <= 14
static_assert((std::is_same<std::ios_base::streampos, std::streampos>::value), "");
#endif
+
+ return 0;
}
OpenPOWER on IntegriCloud