summaryrefslogtreecommitdiff
path: root/src/cmd/cgo/internal/test/issue8756.go
blob: 1ec85a8a5eebf81ec1b59f5cd9fc1578ee28eab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cgotest

/*
#cgo LDFLAGS: -lm
#include <math.h>
*/
import "C"
import (
	"testing"

	"cmd/cgo/internal/test/issue8756"
)

func test8756(t *testing.T) {
	issue8756.Pow()
	C.pow(1, 2)
}