diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2007-07-23 22:42:15 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2007-07-23 22:42:15 +0000 |
commit | 1d8194dd46a60e7a36c1148f9aa8d9734f94a404 (patch) | |
tree | 025f3b85aaaffe230bf32b022ee5c2c9050185d5 /test/CFrontend/exact-div-expr.c | |
parent | 72fa0e9ff6fd4d0b309335de36c1f45f92ea9af1 (diff) | |
download | external_llvm-1d8194dd46a60e7a36c1148f9aa8d9734f94a404.zip external_llvm-1d8194dd46a60e7a36c1148f9aa8d9734f94a404.tar.gz external_llvm-1d8194dd46a60e7a36c1148f9aa8d9734f94a404.tar.bz2 |
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
Diffstat (limited to 'test/CFrontend/exact-div-expr.c')
-rw-r--r-- | test/CFrontend/exact-div-expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |