llvm-project/clang/test/CodeGen/2007-02-16-VoidPtrDiff.c
Eric Christopher 85e5156598 Migrate most of the rest of test/FrontendC from llvm and migrate
most of them to FileCheck.

llvm-svn: 136159
2011-07-26 22:17:02 +00:00

6 lines
109 B
C

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