move out c/cpp/py
This commit is contained in:
11
cl/_testgo/cgodefer/cgodefer.go
Normal file
11
cl/_testgo/cgodefer/cgodefer.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
func main() {
|
||||
p := C.malloc(1024)
|
||||
defer C.free(p)
|
||||
}
|
||||
1
cl/_testgo/cgodefer/out.ll
Normal file
1
cl/_testgo/cgodefer/out.ll
Normal file
@@ -0,0 +1 @@
|
||||
;
|
||||
Reference in New Issue
Block a user