mirror of
https://github.com/golang/go
synced 2024-10-05 12:21:22 -06:00
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()
|
||
|
}
|