1
0
mirror of https://github.com/golang/go synced 2024-11-07 11:36:11 -07:00
go/misc/cgo/test/testdata/issue8756.go

18 lines
177 B
Go
Raw Normal View History

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