summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-04-24-bit-not-expr.c
blob: 1c27f181c0e4bd5b00f2160d5cfaf5fb15d58f70 (plain)
1
2
3
4
5
6
7
// PR 1346
// RUN: %llvmgcc -c %s  -o /dev/null
extern bar(void *);

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