llvm-project/llvm/test/FrontendC/2007-02-16-VoidPtrDiff.c

6 lines
99 B
C

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