repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
FrontendC++
/
2005-02-14-BitFieldOffset.cpp
blob
522e20a478dfbfd271eb2fd1e52790d6246fc1c3
1
// RUN: %llvmgxx %s -S -o - | not grep {i32 6}
2
3
struct
QVectorTypedData
{
4
int
size
;
5
unsigned int
sharable
:
1
;
6
unsigned short
array
[
1
];
7
};
8
9
void
foo
(
QVectorTypedData
*
X
) {
10
X
->
array
[
0
] =
123
;
11
}