repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
2003-11-19-BitFieldArray.c
blob
9d54112e86e25d5d81c4054f775d63fa5deafc71
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3
struct
_GIOChannel
{
4
int
write_buf
;
5
char
partial_write_buf
[
6
];
6
int
d
:
1
;
7
};
8
9
void
g_io_channel_init
(
struct
_GIOChannel
*
channel
) {
10
channel
->
partial_write_buf
[
0
];
11
}
12