projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New testcase for PR1744
[oota-llvm.git]
/
test
/
CFrontend
/
2003-11-26-PointerShift.c
diff --git
a/test/CFrontend/2003-11-26-PointerShift.c
b/test/CFrontend/2003-11-26-PointerShift.c
index 46dc259431e334390acce02344f3924bc013f1af..079f6903a233d290462c83c33b756b6517afd691 100644
(file)
--- a/
test/CFrontend/2003-11-26-PointerShift.c
+++ b/
test/CFrontend/2003-11-26-PointerShift.c
@@
-1,3
+1,5
@@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
if (2 & (unsigned long) buff) result += 1;
return result;