aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-02-16-VoidPtrDiff.c
blob: 713b9b28b075a443de34d4729f0a4b9a912b49d5 (plain)
1
2
3
4
5
// RUN: %llvmgcc %s -S -o - -emit-llvm

void foo(void *ptr, int test) {
  (ptr - ((void *) test + 0x2000));
}