xref: /llvm-project/clang/test/CodeGen/2005-01-02-PointerDifference.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1*85e51565SEric Christopher // RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s
2*85e51565SEric Christopher 
3*85e51565SEric Christopher // CHECK: sdiv exact
Diff(int * P,int * Q)4*85e51565SEric Christopher int Diff(int *P, int *Q) { return P-Q; }
5