MC/AsmParser: Add macro argument substitution support.
[oota-llvm.git] / test / Feature / paramattrs.ll
index 24c46dc22c1818911546c8902d24d3c874b4dfd7..3bee6177e0b6216e2950affcea131a985c0555a9 100644 (file)
@@ -14,7 +14,7 @@ declare void @exit(i32) noreturn nounwind
 
 define i32 @main(i32 inreg %argc, i8 ** inreg %argv) nounwind {
     %val = trunc i32 %argc to i16
-    %res1 = call i16 (i16 signext) signext *@test(i16 %val)
+    %res1 = call i16 (i16 signext) signext *@test(i16 signext %val) signext
     %two = add i16 %res1, %res1
     %res2 = call i8 @test2(i16 %two zeroext) zeroext 
     %retVal = sext i16 %two to i32