summaryrefslogtreecommitdiffstats
path: root/src/cmd/link/testdata/testBuildFortvOS/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/link/testdata/testBuildFortvOS/lib.go')
-rw-r--r--src/cmd/link/testdata/testBuildFortvOS/lib.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmd/link/testdata/testBuildFortvOS/lib.go b/src/cmd/link/testdata/testBuildFortvOS/lib.go
new file mode 100644
index 0000000..bc6c699
--- /dev/null
+++ b/src/cmd/link/testdata/testBuildFortvOS/lib.go
@@ -0,0 +1,8 @@
+package main
+
+import "C"
+
+//export GoFunc
+func GoFunc() {}
+
+func main() {}