Use toplevel function pass manager as OnTheFly manager.
[oota-llvm.git] / test / Feature / calltest.ll
index 861d7632d41ab3a9afe9a317d14f8f0190880d4c..f015223c5d75acc528b219579303be9b92bad1bb 100644 (file)
@@ -1,11 +1,10 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
 %FunTy = type int(int)
 
-declare int "test"(...)   ; Test differences of prototype
-declare int "test"()      ; Differ only by vararg
+declare int "test"(int)   ; Test forward declaration merging
 
 implementation