github.com/bir3/gocompiler@v0.9.2202/src/cmd/cgo/internal/test/issue8828/trivial.go (about)

     1  // Copyright 2014 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 issue8828
     6  
     7  //void foo();
     8  import "C"
     9  
    10  func Bar() {
    11  	C.foo()
    12  }