1 // RUN: %clang_cc1 %s -emit-llvm -o -
2 
3 void foo(void *ptr, int test) {
4   (ptr - ((void *) test + 0x2000));
5 }
6