Source file src/cmd/cgo/internal/testplugin/testdata/issue53989/plugin.go

     1  // Copyright 2022 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 "testplugin/issue53989/p"
     8  
     9  func Square(x int) { // export Square for plugin
    10  	p.Square(x)
    11  }
    12  
    13  func main() {}
    14  

View as plain text