issue8756.go 177 B

1234567891011121314151617
  1. package cgotest
  2. /*
  3. #cgo LDFLAGS: -lm
  4. #include <math.h>
  5. */
  6. import "C"
  7. import (
  8. "testing"
  9. "cgotest/issue8756"
  10. )
  11. func test8756(t *testing.T) {
  12. issue8756.Pow()
  13. C.pow(1, 2)
  14. }