summaryrefslogtreecommitdiffstats
path: root/test cases/vala/26 vala and asm/retval-arm.S
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/vala/26 vala and asm/retval-arm.S')
-rw-r--r--test cases/vala/26 vala and asm/retval-arm.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/vala/26 vala and asm/retval-arm.S b/test cases/vala/26 vala and asm/retval-arm.S
new file mode 100644
index 0000000..a892362
--- /dev/null
+++ b/test cases/vala/26 vala and asm/retval-arm.S
@@ -0,0 +1,11 @@
+#include "symbol-underscore.h"
+
+.text
+.globl SYMBOL_NAME(get_retval)
+# ifdef __linux__
+.type get_retval, %function
+#endif
+
+SYMBOL_NAME(get_retval):
+ mov r0, #0
+ mov pc, lr