.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.1.1 / staticcheck / testdata / src / CheckLeakyTimeTick-main / CheckLeakyTimeTick-main.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.1.1/staticcheck/testdata/src/CheckLeakyTimeTick-main/CheckLeakyTimeTick-main.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.1.1/staticcheck/testdata/src/CheckLeakyTimeTick-main/CheckLeakyTimeTick-main.go
new file mode 100644 (file)
index 0000000..bdae3ed
--- /dev/null
@@ -0,0 +1,16 @@
+package main
+
+import "time"
+
+func fn2() {
+       for range time.Tick(0) {
+               println("")
+               if true {
+                       break
+               }
+       }
+}
+
+func main() {
+       _ = time.Tick(0)
+}