summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/exact-div-expr.c
blob: a2c12a0b3f6e8defd0ea340fef076bdb6eb6457c (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s -o - -O1 | grep ashr
// RUN: %clang_cc1 -emit-llvm %s -o - -O1 | not grep sdiv

long long test(int *A, int *B) {
  return A-B;
}