summaryrefslogtreecommitdiff
path: root/libgo/misc/cgo/test/issue8756.go
blob: d8ee3b8213d9d47434294b6be5cee5f23d7b1ed1 (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"

	"./issue8756"
)

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