summaryrefslogtreecommitdiffstats
path: root/src/runtime/testdata/testwintls/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/runtime/testdata/testwintls/main.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/runtime/testdata/testwintls/main.go b/src/runtime/testdata/testwintls/main.go
new file mode 100644
index 0000000..1cf296c
--- /dev/null
+++ b/src/runtime/testdata/testwintls/main.go
@@ -0,0 +1,12 @@
+// Copyright 2023 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+import "C"
+
+//export GoFunc
+func GoFunc() int { return 42 }
+
+func main() {}