PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2007-02-16-VoidPtrDiff.c
blob713b9b28b075a443de34d4729f0a4b9a912b49d5
1 // RUN: %llvmgcc %s -S -o - -emit-llvm
3 void foo(void *ptr, int test) {
4 (ptr - ((void *) test + 0x2000));