summaryrefslogtreecommitdiffstats
path: root/misc/cgo/test/testdata/issue8756.go
blob: 406c64c0f39808ce710aed4b6b2aadd30754e846 (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"

	"cgotest/issue8756"
)

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