PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2003-11-26-PointerShift.c
blob079f6903a233d290462c83c33b756b6517afd691
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
4 if (2 & (unsigned long) buff) result += 1;
5 return result;