aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/test_ret.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/test_ret.S')
-rw-r--r--tests/tcg/lm32/test_ret.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_ret.S b/tests/tcg/lm32/test_ret.S
new file mode 100644
index 0000000000..320264f148
--- /dev/null
+++ b/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