(+cflags): Append to this instead of CFLAGS.
[glibc.git] / stdio-common / scanf6.c
blob36055aa82e36bdcc4ef871d25a324323e74e8d86
1 #include <stdio.h>
2 #include <stdlib.h>
4 main ()
6 int n = -1;
7 char c = '!';
8 int ret;
10 ret = sscanf ("0x", "%i%c", &n, &c);
11 printf ("ret: %d, n: %d, c: %c\n", ret, n, c);
12 if (ret != 2 || n != 0 || c != 'x')
13 abort ();
14 return 0;