aboutsummaryrefslogtreecommitdiffstats
path: root/test/Integer/2007-01-19-TruncSext.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Integer/2007-01-19-TruncSext.ll')
-rw-r--r--test/Integer/2007-01-19-TruncSext.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Integer/2007-01-19-TruncSext.ll b/test/Integer/2007-01-19-TruncSext.ll
index 3aa5f91..d1359c0 100644
--- a/test/Integer/2007-01-19-TruncSext.ll
+++ b/test/Integer/2007-01-19-TruncSext.ll
@@ -24,6 +24,6 @@ define i32 @main(i32 %argc, i8** %argv) {
%result = sext i17 %X to i32
%fmt = getelementptr [4 x i8]* @FORMAT, i32 0, i32 0
call i32 (i8*,...)* @printf(i8* %fmt, i32 %result)
- ret i32 %result
+ ret i32 0
}