Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
[oota-llvm.git] / test / FrontendC / 2007-02-16-VoidPtrDiff.c
1 // RUN: %llvmgcc %s -S -o -
2
3 void foo(void *ptr, int test) {
4   (ptr - ((void *) test + 0x2000));
5 }