diff options
Diffstat (limited to 'libgo/misc/cgo/test/issue8756.go')
-rw-r--r-- | libgo/misc/cgo/test/issue8756.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libgo/misc/cgo/test/issue8756.go b/libgo/misc/cgo/test/issue8756.go new file mode 100644 index 00000000000..d8ee3b8213d --- /dev/null +++ b/libgo/misc/cgo/test/issue8756.go @@ -0,0 +1,17 @@ +package cgotest + +/* +#cgo LDFLAGS: -lm +#include <math.h> +*/ +import "C" +import ( + "testing" + + "./issue8756" +) + +func test8756(t *testing.T) { + issue8756.Pow() + C.pow(1, 2) +} |