about summary refs log tree commit diff
path: root/stdio-common/scanf6.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/scanf6.c')
-rw-r--r--stdio-common/scanf6.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/stdio-common/scanf6.c b/stdio-common/scanf6.c
deleted file mode 100644
index 882e8571e3..0000000000
--- a/stdio-common/scanf6.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-int
-main (int argc, char *argv[])
-{
-  int n = -1;
-  char c = '!';
-  int ret;
-
-  ret = sscanf ("0x", "%i%c", &n, &c);
-  printf ("ret: %d, n: %d, c: %c\n", ret, n, c);
-  if (ret != 2 || n != 0 || c != 'x')
-    abort ();
-  return 0;
-}