[llvm-commits] CVS: llvm/test/CFrontend/2007-04-24-bit-not-expr.ll

Devang Patel dpatel at apple.com
Tue Apr 24 12:24:58 PDT 2007



Changes in directory llvm/test/CFrontend:

2007-04-24-bit-not-expr.ll added (r1.1)
---
Log message:

New test case.


---
Diffs of the changes:  (+7 -0)

 2007-04-24-bit-not-expr.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/CFrontend/2007-04-24-bit-not-expr.ll
diff -c /dev/null llvm/test/CFrontend/2007-04-24-bit-not-expr.ll:1.1
*** /dev/null	Tue Apr 24 14:24:49 2007
--- llvm/test/CFrontend/2007-04-24-bit-not-expr.ll	Tue Apr 24 14:24:39 2007
***************
*** 0 ****
--- 1,7 ----
+ // PR 1346
+ // RUN: %llvmgcc -c %s  -o /dev/null
+ extern bar(void *);
+ 
+ void f(void *cd) {
+   bar(((void *)((unsigned long)(cd) ^ -1)));
+ }






More information about the llvm-commits mailing list