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
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000726-1.c
blob
b0ecd29f3fe94dd30c1d7f82fed0286162819e15
1
void
adjust_xy
(
short
*,
short
*);
2
3
struct
adjust_template
4
{
5
short
kx_x
;
6
short
kx_y
;
7
short
kx
;
8
short
kz
;
9
};
10
11
static struct
adjust_template adjust
= {
0
,
0
,
1
,
1
};
12
13
main
()
14
{
15
short
x
=
1
,
y
=
1
;
16
17
adjust_xy
(&
x
, &
y
);
18
19
if
(
x
!=
1
)
20
abort
();
21
22
exit
(
0
);
23
}
24
25
void
26
adjust_xy
(
x
,
y
)
27
short
*
x
;
28
short
*
y
;
29
{
30
*
x
=
adjust
.
kx_x
* *
x
+
adjust
.
kx_y
* *
y
+
adjust
.
kx
;
31
}