diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp index b6c2549b5cb..3a6f63c3fc3 100644 --- a/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp @@ -57,7 +57,7 @@ #error FE_DFL_ENV not defined #endif -int main() +int main(int, char**) { fenv_t fenv = {}; fexcept_t fex = 0; @@ -72,4 +72,6 @@ int main() static_assert((std::is_same<decltype(feholdexcept(&fenv)), int>::value), ""); static_assert((std::is_same<decltype(fesetenv(&fenv)), int>::value), ""); static_assert((std::is_same<decltype(feupdateenv(&fenv)), int>::value), ""); + + return 0; } |