aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/test/issue8756.go
blob: 08099dc1530985c91e08ec0689056059776eb0da (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"

	"misc/cgo/test/issue8756"
)

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