aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fenv_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fenv_test.cpp')
-rw-r--r--tests/fenv_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fenv_test.cpp b/tests/fenv_test.cpp
index 4adb06658..db1bfc32b 100644
--- a/tests/fenv_test.cpp
+++ b/tests/fenv_test.cpp
@@ -79,3 +79,7 @@ TEST(fenv, feclearexcept_fetestexcept) {
feclearexcept(FE_DIVBYZERO);
ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT));
}
+
+TEST(fenv, FE_DFL_ENV_macro) {
+ ASSERT_EQ(0, fesetenv(FE_DFL_ENV));
+}