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
/
20000113-1.c
blob
8b61dbb2109d3e3920d9277f98addf80995bf6e4
1
struct
x
{
2
unsigned
x1
:
1
;
3
unsigned
x2
:
2
;
4
unsigned
x3
:
3
;
5
};
6
7
foobar
(
int
x
,
int
y
,
int
z
)
8
{
9
struct
x a
= {
x
,
y
,
z
};
10
struct
x b
= {
x
,
y
,
z
};
11
struct
x
*
c
= &
b
;
12
13
c
->
x3
+= (
a
.
x2
-
a
.
x1
) *
c
->
x2
;
14
if
(
a
.
x1
!=
1
||
c
->
x3
!=
5
)
15
abort
();
16
exit
(
0
);
17
}
18
19
main
()
20
{
21
foobar
(
1
,
2
,
3
);
22
}
23