llvm-for-llvmta/tools/clang/test/CodeGen/2005-01-02-PointerDifference.c

5 lines
117 B
C

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