about summary refs log tree commit diff
path: root/stdlib/tst-atof1.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-atof1.c')
-rw-r--r--stdlib/tst-atof1.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/stdlib/tst-atof1.c b/stdlib/tst-atof1.c
deleted file mode 100644
index 879d866558..0000000000
--- a/stdlib/tst-atof1.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-static int
-do_test (void)
-{
-  char buf[100];
-  snprintf (buf, sizeof (buf), "%g", atof ("0x10p-1"));
-  if (strcmp (buf, "8") != 0)
-    {
-      printf ("got \"%s\", expected \"8\"\n", buf);
-      return 1;
-    }
-  return 0;
-}
-
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"