some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / cmd / guru / testdata / src / pointsto-json / main.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/guru/testdata/src/pointsto-json/main.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/guru/testdata/src/pointsto-json/main.go
deleted file mode 100644 (file)
index 0a9f318..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package main
-
-// Tests of 'pointsto' queries, -format=json.
-// See go.tools/guru/guru_test.go for explanation.
-// See pointsto-json.golden for expected query results.
-
-func main() { //
-       var s struct{ x [3]int }
-       p := &s.x[0] // @pointsto val-p "p"
-       _ = p
-
-       var i I = C(0)
-       if i == nil {
-               i = new(D)
-       }
-       print(i) // @pointsto val-i "\\bi\\b"
-}
-
-type I interface {
-       f()
-}
-
-type C int
-type D struct{}
-
-func (c C) f()  {}
-func (d *D) f() {}