xref: /llvm-project/clang/test/CodeGen/exact-div-expr.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1*85e51565SEric Christopher // RUN: %clang_cc1 -emit-llvm %s -o - -O1 | grep ashr
2*85e51565SEric Christopher // RUN: %clang_cc1 -emit-llvm %s -o - -O1 | not grep sdiv
3*85e51565SEric Christopher 
test(int * A,int * B)4*85e51565SEric Christopher long long test(int *A, int *B) {
5*85e51565SEric Christopher   return A-B;
6*85e51565SEric Christopher }
7