commit | f99f3f4944bb8973899bffc52040c19bb31b6119 | [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 | f309070ca4e4830e8dbe031ed415a00ae6d61ec9 [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; }