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
/
990524-1.c
blob
6cfb34995f45279cccc36e6dc875d93f128195cd
1
char
a
[] =
"12345"
;
2
char
b
[] =
"12345"
;
3
4
void
loop
(
char
*
pz
,
char
*
pzDta
)
5
{
6
for
(;;) {
7
switch
(*(
pz
++) = *(
pzDta
++)) {
8
case
0
:
9
goto
loopDone2
;
10
11
case
'"'
:
12
case
'
\\
'
:
13
pz
[-
1
] =
'
\\
'
;
14
*(
pz
++) =
pzDta
[-
1
];
15
}
16
}
loopDone2
:;
17
18
if
(
a
-
pz
!=
b
-
pzDta
)
19
abort
();
20
}
21
22
main
()
23
{
24
loop
(
a
,
b
);
25
exit
(
0
);
26
}