repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2002-05-10 David S. Miller <davem@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920908-2.c
blob
66a6d86a7e71d33f8465aa2c62b2977334270dc3
1
/*
2
CONF:m68k-sun-sunos4.1.1
3
OPTIONS:-O
4
*/
5
struct
T
6
{
7
unsigned
i
:
8
;
8
unsigned
c
:
24
;
9
};
10
f
(
struct
T t
)
11
{
12
struct
T s
[
1
];
13
s
[
0
]=
t
;
14
return
(
char
)
s
->
c
;
15
}
16
main
()
17
{
18
struct
T t
;
19
t
.
i
=
0xff
;
20
t
.
c
=
0xffff11
;
21
if
(
f
(
t
)!=
0x11
)
abort
();
22
exit
(
0
);
23
}