some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / cmd / stringer / testdata / cgo.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/stringer/testdata/cgo.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/cmd/stringer/testdata/cgo.go
deleted file mode 100644 (file)
index ef38f95..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Import "C" shouldn't be imported.
-
-package main
-
-/*
-#define HELLO 1
-*/
-import "C"
-
-import "fmt"
-
-type Cgo uint32
-
-const (
-       // MustScanSubDirs indicates that events were coalesced hierarchically.
-       MustScanSubDirs Cgo = 1 << iota
-)
-
-func main() {
-       _ = C.HELLO
-       ck(MustScanSubDirs, "MustScanSubDirs")
-}
-
-func ck(day Cgo, str string) {
-       if fmt.Sprint(day) != str {
-               panic("cgo.go: " + str)
-       }
-}