mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Updates #10958 Updates #24543 Fixes #35294 Change-Id: I60f024d08451565df6d9751dab9832b50cbf637a Reviewed-on: https://go-review.googlesource.com/c/go/+/204957 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
17 lines
291 B
Go
17 lines
291 B
Go
// Copyright 2019 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"
|
|
|
|
var sink []byte
|
|
|
|
//export GoFunction7
|
|
func GoFunction7() {
|
|
sink = make([]byte, 4096)
|
|
}
|
|
|
|
func main() {
|
|
}
|