summaryrefslogtreecommitdiff
path: root/test/cbrt.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-12 08:51:20 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-12 08:51:20 -0500
commit811c77140bd195992042d3f99fd186fe628519ff (patch)
treee490c4766c2337e192f33d7af237c0d5d31d2d9c /test/cbrt.c
parent4c66db3fb1677cd84d9afb86334fa5d8a256fb60 (diff)
downloaddeheader-811c77140bd195992042d3f99fd186fe628519ff.tar.gz
deheader-811c77140bd195992042d3f99fd186fe628519ff.tar.bz2
deheader-811c77140bd195992042d3f99fd186fe628519ff.tar.xz
deheader-811c77140bd195992042d3f99fd186fe628519ff.zip
Tests for nl_types catalog funcriuons, cbrt(3), ceil(3).
Diffstat (limited to 'test/cbrt.c')
-rw-r--r--test/cbrt.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cbrt.c b/test/cbrt.c
new file mode 100644
index 0000000..7beb7ca
--- /dev/null
+++ b/test/cbrt.c
@@ -0,0 +1,15 @@
+/* cbrt() requires <math.h> */
+
+/*
+ * Items: cbrt(
+ * Requires: <stdlib.h>
+ * Standardized-By: SuS
+ * Not-Detected-by: gcc-4.4.3 + Linux
+ */
+
+#include <math.h>
+
+main(int arg, char **argv)
+{
+ cbrt(23.0);
+}