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