summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp')
-rw-r--r--libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp b/libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
index 671e4d12d54..61378439298 100644
--- a/libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
+++ b/libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
@@ -57,7 +57,7 @@
#error FE_DFL_ENV not defined
#endif
-int main()
+int main(int, char**)
{
std::fenv_t fenv;
std::fexcept_t fex;
@@ -74,4 +74,6 @@ int main()
static_assert((std::is_same<decltype(std::feholdexcept(&fenv)), int>::value), "");
static_assert((std::is_same<decltype(std::fesetenv(&fenv)), int>::value), "");
static_assert((std::is_same<decltype(std::feupdateenv(&fenv)), int>::value), "");
+
+ return 0;
}
OpenPOWER on IntegriCloud