Remove some logic I thoughtlessly copied over
[oota-llvm.git] / test / Feature / prototype.ll
index cea4f32b2b2b68371db571b9339e0aa1b264b3d5..9bab73f7fb7e2896e330ae129acfa66c4f0f6493 100644 (file)
@@ -1,10 +1,14 @@
+; 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
 
 declare int "bar"(int %in) 
 
 int "foo"(int %blah)
 begin
-  %xx = call int(int) %bar(int %blah)
+  %xx = call int %bar(int %blah)
   ret int %xx
 end