aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy/asm_include/foo_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy/asm_include/foo_other.go')
-rw-r--r--tests/legacy/asm_include/foo_other.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/legacy/asm_include/foo_other.go b/tests/legacy/asm_include/foo_other.go
new file mode 100644
index 00000000..b27cd1c8
--- /dev/null
+++ b/tests/legacy/asm_include/foo_other.go
@@ -0,0 +1,7 @@
+package foo
+
+// Other architectures are not supported for this test. This function just
+// returns what the assembly function was supposed to return.
+func foo() int32 {
+ return 42
+}