Add support getting the operands of a User to ocaml.
[oota-llvm.git] / test / FrontendC / 2003-11-08-PointerSubNotGetelementptr.c
1 // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
2
3 char *test(char* C) {
4   return C-1;   // Should turn into a GEP
5 }
6
7 int *test2(int* I) {
8   return I-1;
9 }