summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-02-16-VoidPtrDiff.c
blob: 15df28cae3feed13a3f4d76ebd57e4875f6ce3e5 (plain)
1
2
3
4
5
// RUN: %llvmgcc %s -S -o -

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