Rather than having special rules like "intrinsics cannot
[oota-llvm.git] / test / CFrontend / 2007-02-16-VoidPtrDiff.c
1 // RUN: %llvmgcc %s -S -o - -emit-llvm
2
3 void foo(void *ptr, int test) {
4   (ptr - ((void *) test + 0x2000));
5 }