diff options
Diffstat (limited to 'stdio-common/scanf10.c')
-rw-r--r-- | stdio-common/scanf10.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/stdio-common/scanf10.c b/stdio-common/scanf10.c deleted file mode 100644 index f8961378ef..0000000000 --- a/stdio-common/scanf10.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <stdio.h> -#include <string.h> - -int -main (int argc, char *argv[]) -{ - const char teststring[] = "<tag `word'>"; - int retc, a, b; - - retc = sscanf (teststring, "<%*s `%n%*s%n'>", &a, &b); - - printf ("retc=%d a=%d b=%d\n", retc, a, b); - - return retc == -1 && a == 6 && b == 12 ? 0 : 1; -} |