mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
17 lines
262 B
C
17 lines
262 B
C
|
#include <stdio.h>
|
||
|
|
||
|
static int
|
||
|
do_test (void)
|
||
|
{
|
||
|
static const char buf[] = " ";
|
||
|
char *str;
|
||
|
|
||
|
int r = sscanf (buf, "%as", &str);
|
||
|
printf ("%d %p\n", r, str);
|
||
|
|
||
|
return r != -1 || str != NULL;
|
||
|
}
|
||
|
|
||
|
#define TEST_FUNCTION do_test ()
|
||
|
#include "../test-skeleton.c"
|