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