summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2005-01-02-PointerDifference.c
blob: 1114ef5c25de4604a3865ea59898b6676f10f3b0 (about) (plain)
1
2
3
4
// RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s

// CHECK: sdiv exact
int Diff(int *P, int *Q) { return P-Q; }