some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / cgo / declarecgo.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/internal/lsp/testdata/cgo/declarecgo.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/internal/lsp/testdata/cgo/declarecgo.go
deleted file mode 100644 (file)
index c283cdf..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package cgo
-
-/*
-#include <stdio.h>
-#include <stdlib.h>
-
-void myprint(char* s) {
-       printf("%s\n", s);
-}
-*/
-import "C"
-
-import (
-       "fmt"
-       "unsafe"
-)
-
-func Example() { //@mark(funccgoexample, "Example"),item(funccgoexample, "Example", "func()", "func")
-       fmt.Println()
-       cs := C.CString("Hello from stdio\n")
-       C.myprint(cs)
-       C.free(unsafe.Pointer(cs))
-}
-
-func _() {
-       Example() //@godef("ample", funccgoexample),complete("ample", funccgoexample)
-}