mirror of
https://github.com/golang/go
synced 2024-10-05 10:31:22 -06:00
f68c23e2bb
Fixes #5272. R=golang-dev, r CC=golang-dev https://golang.org/cl/13498046
15 lines
118 B
Go
15 lines
118 B
Go
package main
|
|
|
|
/*
|
|
#cgo LDFLAGS: -c
|
|
|
|
void test() {
|
|
xxx; // This is line 7.
|
|
}
|
|
*/
|
|
import "C"
|
|
|
|
func main() {
|
|
C.test()
|
|
}
|