llvm-for-llvmta/tools/clang/test/CodeGen/2007-02-16-VoidPtrDiff.c

6 lines
109 B
C

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