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