projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
/
CheckBenchmarkN
/
CheckBenchmarkN.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/CheckBenchmarkN/CheckBenchmarkN.go
b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckBenchmarkN/CheckBenchmarkN.go
new file mode 100644
(file)
index 0000000..
a900cf4
--- /dev/null
+++ b/
.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckBenchmarkN/CheckBenchmarkN.go
@@ -0,0
+1,9
@@
+package foo
+
+import "testing"
+
+func foo() {
+ var b *testing.B
+ b.N = 1 // want `should not assign to b\.N`
+ _ = b
+}