llvm/test/CFrontend/2007-04-24-bit-not-expr.ll

8 lines
135 B
LLVM
Raw Normal View History

// PR 1346
// RUN: %llvmgcc -c %s -o /dev/null
extern bar(void *);
void f(void *cd) {
bar(((void *)((unsigned long)(cd) ^ -1)));
}