summaryrefslogtreecommitdiffstats
path: root/src/runtime/testdata/testwinlibsignal/dummy.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/testdata/testwinlibsignal/dummy.go')
-rw-r--r--src/runtime/testdata/testwinlibsignal/dummy.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/runtime/testdata/testwinlibsignal/dummy.go b/src/runtime/testdata/testwinlibsignal/dummy.go
new file mode 100644
index 0000000..e610f15
--- /dev/null
+++ b/src/runtime/testdata/testwinlibsignal/dummy.go
@@ -0,0 +1,13 @@
+//go:build windows
+// +build windows
+
+package main
+
+import "C"
+
+//export Dummy
+func Dummy() int {
+ return 42
+}
+
+func main() {}