minix/external/bsd/llvm/dist/clang/test/CodeGen/2007-02-16-VoidPtrDiff.c

6 lines
109 B
C
Raw Normal View History

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