PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2003-11-08-PointerSubNotGetelementptr.c
blob443dfbdb37fc9ca556ce9425d883aa14d142391f
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
3 char *test(char* C) {
4 return C-1; // Should turn into a GEP
7 int *test2(int* I) {
8 return I-1;