YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/2005-01-02-PointerDifference.c

5 lines
117 B
C
Raw Normal View History

// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
// CHECK: sdiv exact
int Diff(int *P, int *Q) { return P-Q; }