1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:40:27 -07: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)
}