Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2007-02-16-VoidPtrDiff.c
blobc9f6714c253cce9d8ebda942854c88df362730e2
1 // RUN: %clang_cc1 %s -emit-llvm -o -
3 void foo(void *ptr, int test) {
4 (ptr - ((void *) test + 0x2000));