When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / FrontendC / 2003-11-08-PointerSubNotGetelementptr.c
blob58f9f82e15439316a41816a01b5384bffc42a41d
1 // RUN: %llvmgcc -xc %s -S -o - | 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;