weak.go 277 B

12345678910111213
  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. package issue29563
  5. //int foo1();
  6. //int foo2();
  7. import "C"
  8. func Bar() int {
  9. return int(C.foo1()) + int(C.foo2())
  10. }