summaryrefslogtreecommitdiff
path: root/fenv.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-01 21:36:22 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-01 21:36:22 -0500
commit306613c5a17842fc6967f9a9a3722a63767c3b75 (patch)
treebf74e7e66e8e6167292dd92feb2dd1d6cee4ba85 /fenv.c
parent3289aef6dd90453f46f0ba3102ae184734374dc7 (diff)
skeleton tests for all C99 headers
Diffstat (limited to 'fenv.c')
-rw-r--r--fenv.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/fenv.c b/fenv.c
new file mode 100644
index 0000000..1b6414a
--- /dev/null
+++ b/fenv.c
@@ -0,0 +1,19 @@
+#if defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__
+#include <fenv.h>
+#include "test.h"
+
+void test_fenv_h(void)
+{
+ fenv_t fenv;
+ fexcept_t fexcept;
+
+ testing_header("fenv.h");
+
+ testing_end();
+}
+
+#else
+void test_fenv_h(void)
+{
+}
+#endif