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 / CheckLhsRhsIdentical / cgo.go
1 package pkg
2
3 // void foo(void **p) {}
4 import "C"
5 import "unsafe"
6
7 func Foo() {
8         var p unsafe.Pointer
9
10         C.foo(&p)
11         if 0 == 0 {
12                 // We don't currently flag this instance of 0 == 0 because of
13                 // our cgo-specific exception.
14                 println()
15         }
16 }