New test case.
authorDevang Patel <dpatel@apple.com>
Tue, 24 Apr 2007 19:24:39 +0000 (19:24 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 24 Apr 2007 19:24:39 +0000 (19:24 +0000)
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 [new file with mode: 0644]

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 (file)
index 0000000..1c27f18
--- /dev/null
@@ -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)));
+}