1
0
mirror of https://github.com/golang/go synced 2024-09-30 17:28:32 -06:00
go/misc/cgo/test/issue8756.go

18 lines
183 B
Go
Raw Normal View History

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)
}