aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/vala/26 vala and asm/retval-x86_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/vala/26 vala and asm/retval-x86_64.S')
-rw-r--r--meson/test cases/vala/26 vala and asm/retval-x86_64.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/vala/26 vala and asm/retval-x86_64.S b/meson/test cases/vala/26 vala and asm/retval-x86_64.S
new file mode 100644
index 000000000..1a5f3eb23
--- /dev/null
+++ b/meson/test cases/vala/26 vala and asm/retval-x86_64.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):
+ xorl %eax, %eax
+ retq