summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-22 02:19:08 +0000
committerBruno Haible <bruno@clisp.org>2007-03-22 02:19:08 +0000
commitd86a29da8c531f7419d39a98e36100a94aca6fd0 (patch)
tree3a3521fcfe51788cc4c4f35d7a107f116da04732 /tests
parent3db346332013aca1074e3c23e84b20e559aa3f35 (diff)
downloadgnulib-d86a29da8c531f7419d39a98e36100a94aca6fd0.tar.gz
Tests for module 'isnanl'.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-isnanl.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/test-isnanl.c b/tests/test-isnanl.c
new file mode 100644
index 0000000000..818c05426d
--- /dev/null
+++ b/tests/test-isnanl.c
@@ -0,0 +1,36 @@
+/* Test of isnanl() substitute.
+ Copyright (C) 2007 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2007. */
+
+#include <config.h>
+
+#if HAVE_LONG_DOUBLE
+
+#include "isnanl.h"
+
+#include "test-isnanl.h"
+
+#else
+
+int
+main ()
+{
+ return 0;
+}
+
+#endif