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