llvm-for-llvmta/tools/clang/test/CodeGen/2007-04-24-bit-not-expr.c

8 lines
145 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// PR 1346
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
extern bar(void *);
void f(void *cd) {
bar(((void *)((unsigned long)(cd) ^ -1)));
}