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))); + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits