You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
177 B
18 lines
177 B
4 months ago
|
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)
|
||
|
}
|