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
/
990513-1.c
blob
6ad228fb0062e3dee3e3ae79da0a8d5c29b99f83
1
#include <string.h>
2
3
void
foo
(
int
*
BM_tab
,
int
j
)
4
{
5
int
*
BM_tab_base
;
6
7
BM_tab_base
=
BM_tab
;
8
BM_tab
+=
0400
;
9
while
(
BM_tab_base
!=
BM_tab
)
10
{
11
*--
BM_tab
=
j
;
12
*--
BM_tab
=
j
;
13
*--
BM_tab
=
j
;
14
*--
BM_tab
=
j
;
15
}
16
}
17
18
int
main
()
19
{
20
int
BM_tab
[
0400
];
21
memset
(
BM_tab
,
0
,
sizeof
(
BM_tab
));
22
foo
(
BM_tab
,
6
);
23
if
(
BM_tab
[
0
] !=
6
)
24
abort
();
25
return
0
;
26
}