xref: /llvm-project/clang/test/CodeGen/2007-02-16-VoidPtrDiff.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1 // RUN: %clang_cc1 %s -emit-llvm -o -
2 
foo(void * ptr,int test)3 void foo(void *ptr, int test) {
4   (ptr - ((void *) test + 0x2000));
5 }
6