1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-06 05:33:28 +00:00
llvm-6502/test/FrontendC/2007-02-16-VoidPtrDiff.c

6 lines
110 B
C
Raw Normal View History

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