1 | #include <stdio.h> |
---|---|
2 | |
3 | static int |
4 | do_test (void) |
5 | { |
6 | static const char buf[] = " "; |
7 | char *str; |
8 | |
9 | int r = sscanf (buf, "%ms", &str); |
10 | printf (format: "%d %p\n", r, str); |
11 | |
12 | return r != -1 || str != NULL; |
13 | } |
14 | |
15 | #define TEST_FUNCTION do_test () |
16 | #include "../test-skeleton.c" |
17 |