tests: add signature checks
[gnulib.git] / tests / test-isnan.c
index e9dd5e3..74bb9d9 100644 (file)
 
 #include <math.h>
 
+/* isnan must be a macro.  */
+#ifndef isnan
+# error missing declaration
+#endif
+
 #include <float.h>
 #include <limits.h>
 #include <stdio.h>