repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
.
[glibc/history.git]
/
stdio-common
/
bug21.c
blob
d22b9c1a9717a1976abe049296e3da5a7865ff8d
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"