1*85e51565SEric Christopher // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s 2*85e51565SEric Christopher test(char * C)3*85e51565SEric Christopherchar *test(char* C) { 4*85e51565SEric Christopher // CHECK: getelementptr 5*85e51565SEric Christopher return C-1; // Should turn into a GEP 6*85e51565SEric Christopher } 7*85e51565SEric Christopher test2(int * I)8*85e51565SEric Christopherint *test2(int* I) { 9*85e51565SEric Christopher return I-1; 10*85e51565SEric Christopher } 11