commit | 1d8194dd46a60e7a36c1148f9aa8d9734f94a404 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Mon Jul 23 22:42:15 2007 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Mon Jul 23 22:42:15 2007 +0000 |
tree | 025f3b85aaaffe230bf32b022ee5c2c9050185d5 | |
parent | 72fa0e9ff6fd4d0b309335de36c1f45f92ea9af1 [diff] [blame] |
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
diff --git a/test/CFrontend/exact-div-expr.c b/test/CFrontend/exact-div-expr.c index 6cda928..03626c9 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; }