]>
Commit | Line | Data |
---|---|---|
26e21e75 UD |
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, "%as", &str); | |
10 | printf ("%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" |