summaryrefslogtreecommitdiffstats
path: root/llvm/test/CFrontend
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
commit1b37d5b019bbec9bf22a13387f0e3e1acd21951d (patch)
tree623507614de51d7a51e11a4fcc11a4ed2bf61158 /llvm/test/CFrontend
parentf97dbcb4ba9c16814a49b19fc192d95c8185d743 (diff)
downloadbcm5719-llvm-1b37d5b019bbec9bf22a13387f0e3e1acd21951d.tar.gz
bcm5719-llvm-1b37d5b019bbec9bf22a13387f0e3e1acd21951d.zip
Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.
llvm-svn: 40451
Diffstat (limited to 'llvm/test/CFrontend')
-rw-r--r--llvm/test/CFrontend/exact-div-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CFrontend/exact-div-expr.c b/llvm/test/CFrontend/exact-div-expr.c
index 6cda9286627..03626c92652 100644
--- a/llvm/test/CFrontend/exact-div-expr.c
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud