diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp b/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp index 66200175c0b..8abced55ee4 100644 --- a/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp +++ b/libcxx/test/std/depr/depr.ios.members/streamoff.pass.cpp @@ -20,10 +20,12 @@ #include <ios> #include <type_traits> -int main() +int main(int, char**) { #if TEST_STD_VER <= 14 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); static_assert((std::is_signed<std::ios_base::streamoff>::value), ""); #endif + + return 0; } |