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

5 lines
117 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
// CHECK: sdiv exact
int Diff(int *P, int *Q) { return P-Q; }