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.go10
1 files changed, 10 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..82dfd91
--- /dev/null
+++ b/src/runtime/testdata/testwinlibsignal/dummy.go
@@ -0,0 +1,10 @@
+// +build windows
+
+package main
+
+//export Dummy
+func Dummy() int {
+ return 42
+}
+
+func main() {}