...

Source file src/cmd/cgo/internal/testcarchive/testdata/libgo9/a.go

Documentation: cmd/cgo/internal/testcarchive/testdata/libgo9

     1  // Copyright 2023 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 "runtime"
     8  
     9  import "C"
    10  
    11  func main() {}
    12  
    13  //export GoF
    14  func GoF() { runtime.GC() }
    15  

View as plain text