projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase for PR1296
[oota-llvm.git]
/
test
/
C++Frontend
/
2005-02-14-BitFieldOffset.cpp
1
// RUN: %llvmgxx %s -S -o - | not grep 'int 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
}