aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ret_arg3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ret_arg3.ll')
-rw-r--r--test/CodeGen/ARM/ret_arg3.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_arg3.ll b/test/CodeGen/ARM/ret_arg3.ll
new file mode 100644
index 000000000000..9210e7b09f58
--- /dev/null
+++ b/test/CodeGen/ARM/ret_arg3.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=arm
+define i32 @test(i32 %a1, i32 %a2, i32 %a3) {
+ ret i32 %a3
+}
+