Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / cmd / bundle / testdata / src / initial / a.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/bundle/testdata/src/initial/a.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/bundle/testdata/src/initial/a.go
new file mode 100644 (file)
index 0000000..ded6c64
--- /dev/null
@@ -0,0 +1,27 @@
+package initial
+
+import "fmt" // this comment should not be visible
+
+// init functions are not renamed
+func init() { foo() }
+
+// Type S.
+type S struct {
+       t
+       u int
+} /* multi-line
+comment
+*/
+
+// non-associated comment
+
+/*
+       non-associated comment2
+*/
+
+// Function bar.
+func bar(s *S) {
+       fmt.Println(s.t, s.u) // comment inside function
+}
+
+// file-end comment