test: move cgo demo into _testgo, and make links
This commit is contained in:
1
_demo/cgodefer
Symbolic link
1
_demo/cgodefer
Symbolic link
@@ -0,0 +1 @@
|
||||
../cl/_testgo/cgodefer
|
||||
@@ -1,11 +0,0 @@
|
||||
package main
|
||||
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
func main() {
|
||||
p := C.malloc(1024)
|
||||
defer C.free(p)
|
||||
}
|
||||
Reference in New Issue
Block a user