aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ret_arg1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ret_arg1.ll')
-rw-r--r--test/CodeGen/ARM/ret_arg1.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/ret_arg1.ll b/test/CodeGen/ARM/ret_arg1.ll
index d490cb3..48a1fda 100644
--- a/test/CodeGen/ARM/ret_arg1.ll
+++ b/test/CodeGen/ARM/ret_arg1.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm
-int %test(int %a1) {
- ret int %a1
+; RUN: llvm-as < %s | llc -march=arm
+
+define i32 @test(i32 %a1) {
+ ret i32 %a1
}