Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / staticcheck / testdata / src / checkStdlibUsageRegexpFindAll / checkStdlibUsageRegexpFindAll.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/checkStdlibUsageRegexpFindAll/checkStdlibUsageRegexpFindAll.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/checkStdlibUsageRegexpFindAll/checkStdlibUsageRegexpFindAll.go
new file mode 100644 (file)
index 0000000..86056e5
--- /dev/null
@@ -0,0 +1,8 @@
+package pkg
+
+import "regexp"
+
+func fn() {
+       var r *regexp.Regexp
+       _ = r.FindAll(nil, 0) //want `calling a FindAll method with n == 0 will return no results`
+}