summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2007-04-24-bit-not-expr.c
blob: 9d99caffb53662ffee3933c96159b2e878272c90 (about) (plain)
1
2
3
4
5
6
7
// PR 1346
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
extern bar(void *);

void f(void *cd) {
  bar(((void *)((unsigned long)(cd) ^ -1)));
}