Add testcase
[oota-llvm.git] / test / CFrontend / exact-div-expr.c
index 6cda928662728b33f130b3da68fb6dcd95771b9b..9dce922f95325752841ab75d40fe90b731885bdc 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %llvmgcc -S %s -o - -O | grep ashr
-// RUN: %llvmgcc -S %s -o - -O | not grep sdiv
+// RUN: %llvmgcc -S %s -o - -O1 | grep ashr
+// RUN: %llvmgcc -S %s -o - -O1 | not grep sdiv
 
-int test(int *A, int *B) {
+long long test(int *A, int *B) {
   return A-B;
 }