From d53b69d9c2dace1173f4ad50a242d6cfffcad403 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 24 Apr 2007 19:24:39 +0000 Subject: New test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36400 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-04-24-bit-not-expr.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CFrontend/2007-04-24-bit-not-expr.ll diff --git a/test/CFrontend/2007-04-24-bit-not-expr.ll b/test/CFrontend/2007-04-24-bit-not-expr.ll new file mode 100644 index 0000000..1c27f181 --- /dev/null +++ b/test/CFrontend/2007-04-24-bit-not-expr.ll @@ -0,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))); +} -- cgit v1.1