aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2007-07-23 22:42:15 +0000
committerChandler Carruth <chandlerc@gmail.com>2007-07-23 22:42:15 +0000
commitf99f3f4944bb8973899bffc52040c19bb31b6119 (patch)
tree025f3b85aaaffe230bf32b022ee5c2c9050185d5
parentf309070ca4e4830e8dbe031ed415a00ae6d61ec9 (diff)
Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40451 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/exact-div-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/exact-div-expr.c b/test/CFrontend/exact-div-expr.c
index 6cda928662..03626c9265 100644
--- a/test/CFrontend/exact-div-expr.c
+++ b/test/CFrontend/exact-div-expr.c
@@ -1,6 +1,6 @@
// RUN: %llvmgcc -S %s -o - -O | grep ashr
// RUN: %llvmgcc -S %s -o - -O | not grep sdiv
-int test(int *A, int *B) {
+long long test(int *A, int *B) {
return A-B;
}