For PR1319:
[oota-llvm.git] / test / Integer / 2007-01-19-TruncSext.ll
index 3aa5f914240e49e0b7e30e3c46c0019fe241c193..d1359c0cb8934965b35697d8bf410ccd1517fd73 100644 (file)
@@ -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
 }