aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/js/js_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/syscall/js/js_test.go b/src/syscall/js/js_test.go
index 76fa442442..9ab913f2ab 100644
--- a/src/syscall/js/js_test.go
+++ b/src/syscall/js/js_test.go
@@ -75,6 +75,11 @@ func testExport(a int32, b int64) int64 {
return <-ch + <-ch
}
+//go:wasmexport testExport0
+func testExport0() { // no arg or result (see issue 69584)
+ runtime.GC()
+}
+
var testExportCalled bool
func growStack(n int64) {