summaryrefslogtreecommitdiffstats
path: root/qemu/tests/tcg/lm32/test_ret.S
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/tcg/lm32/test_ret.S')
-rw-r--r--qemu/tests/tcg/lm32/test_ret.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu/tests/tcg/lm32/test_ret.S b/qemu/tests/tcg/lm32/test_ret.S
new file mode 100644
index 000000000..320264f14
--- /dev/null
+++ b/qemu/tests/tcg/lm32/test_ret.S
@@ -0,0 +1,14 @@
+.include "macros.inc"
+
+start
+
+test_name RET_1
+load ra mark
+ret
+
+tc_fail
+end
+
+mark:
+tc_pass
+end