repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2003-11-26-PointerShift.c
blob
6b5205a6e7ed07bd8521a7d3ab192d6fe3cc861b
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
unsigned long
do_csum
(
const unsigned char
*
buff
,
int
len
,
unsigned long
result
) {
4
if
(
2
& (
unsigned long
)
buff
)
result
+=
1
;
5
return
result
;
6
}