Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C...
authorChandler Carruth <chandlerc@gmail.com>
Mon, 23 Jul 2007 22:42:15 +0000 (22:42 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 23 Jul 2007 22:42:15 +0000 (22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40451 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/exact-div-expr.c

index 6cda928662728b33f130b3da68fb6dcd95771b9b..03626c926528c31d811c27d463f0393d3225fec4 100644 (file)
@@ -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;
 }