Use toplevel function pass manager as OnTheFly manager.
[oota-llvm.git] / test / Feature / basictest.ll
index 4fcc190cbb143b7a4d91154bdf41d3b26afde94a..cf040ec250836b679d052400d5402f0696dbbeee 100644 (file)
@@ -1,3 +1,7 @@
+; 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
+
 implementation
 
 ; Test "stripped" format where nothing is symbolic... this is how the bytecode
@@ -26,4 +30,3 @@ begin
 Startup:
        ret int 0
 end
-