repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000112-1.c
blob
080b6627cbeb5e1853abb07830a32a098e8e4c04
1
#include <string.h>
2
3
static int
4
special_format
(
fmt
)
5
const char
*
fmt
;
6
{
7
return
(
strchr
(
fmt
,
'*'
) !=
0
8
||
strchr
(
fmt
,
'V'
) !=
0
9
||
strchr
(
fmt
,
'S'
) !=
0
10
||
strchr
(
fmt
,
'n'
) !=
0
);
11
}
12
13
main
()
14
{
15
if
(
special_format
(
"ee"
))
16
abort
();
17
if
(!
special_format
(
"*e"
))
18
abort
();
19
exit
(
0
);
20
}
21