...

Source file src/cmd/cgo/internal/test/issue8828/trivial.go

Documentation: cmd/cgo/internal/test/issue8828

     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  }
    13  

View as plain text