mirror of
https://github.com/golang/go
synced 2024-11-08 18:16:10 -07:00
8de0bb77eb
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>
18 lines
291 B
Go
18 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() {
|
|
}
|