aboutsummaryrefslogtreecommitdiff
path: root/src/math/nan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/nan.c')
-rw-r--r--src/math/nan.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/nan.c b/src/math/nan.c
index 9e0826c7..29856062 100644
--- a/src/math/nan.c
+++ b/src/math/nan.c
@@ -4,3 +4,11 @@ double nan(const char *s)
{
return NAN;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif