There is a way to specify targets that should succeed. It's the "XTARGET"
[oota-llvm.git] / test / FrontendC / exact-div-expr.c
1 // RUN: %llvmgcc -S %s -o - -O1 | grep ashr
2 // RUN: %llvmgcc -S %s -o - -O1 | not grep sdiv
3
4 long long test(int *A, int *B) {
5   return A-B;
6 }