Fix DAGCombiner to avoid going into an infinite loop when it
[oota-llvm.git] / test / Integer / testvarargs_bt.ll
index d62e270dcafc251ec81b452a09f5d9b2fc6e70cd..3227d145392e2b4c6452e41b61fd301298652f57 100644 (file)
@@ -2,14 +2,13 @@
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-implementation
 
 declare i31 @"printf"(i8*, ...)   ;; Prototype for: i32 __builtin_printf(const char*, ...)
 
 define i31 @"testvarar"()
 begin
-       call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42);
-       ret i31 %0
+       call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42)
+       ret i31 %1
 end