Source file src/cmd/cgo/internal/testcarchive/testdata/libgo7/sink.go

     1  // Copyright 2019 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  import "C"
     8  
     9  var sink []byte
    10  
    11  //export GoFunction7
    12  func GoFunction7() {
    13  	sink = make([]byte, 4096)
    14  }
    15  
    16  func main() {
    17  }
    18  

View as plain text