1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC/2007-02-16-VoidPtrDiff.c

6 lines
110 B
C
Raw Normal View History

2007-02-17 02:44:21 +01:00
// RUN: %llvmgcc %s -S -o - -emit-llvm
void foo(void *ptr, int test) {
(ptr - ((void *) test + 0x2000));
}