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
/
2008-01-07-UnusualIntSize.c
blob
91beaf3528de5780e5a4816fcd6c92e1f7dd3343
1
// RUN: %llvmgcc %s -S -o - -O | grep i33
2
// PR1721
3
4
struct
s
{
5
unsigned long long
u33
:
33
;
6
}
a
,
b
;
7
8
// This should turn into a real 33-bit add, not a 64-bit add.
9
_Bool
test
(
void
) {
10
return
a
.
u33
+
b
.
u33
!=
0
;
11
}