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