X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fcoc-go-data%2Ftools%2Fpkg%2Fmod%2Fgolang.org%2Fx%2Ftools%40v0.0.0-20201028153306-37f0764111ff%2Fgo%2Fanalysis%2Fpasses%2Fbuildtag%2Ftestdata%2Fsrc%2Fa%2Fbuildtag.go;fp=.config%2Fcoc%2Fextensions%2Fcoc-go-data%2Ftools%2Fpkg%2Fmod%2Fgolang.org%2Fx%2Ftools%40v0.0.0-20201028153306-37f0764111ff%2Fgo%2Fanalysis%2Fpasses%2Fbuildtag%2Ftestdata%2Fsrc%2Fa%2Fbuildtag.go;h=dcc980c16e7905163a837befcbb946d6fdb0cf25;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hp=0000000000000000000000000000000000000000;hpb=b3950616b54221c40a7dab9099bda675007e5b6e;p=dotfiles%2F.git diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/go/analysis/passes/buildtag/testdata/src/a/buildtag.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/go/analysis/passes/buildtag/testdata/src/a/buildtag.go new file mode 100644 index 00000000..dcc980c1 --- /dev/null +++ b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/go/analysis/passes/buildtag/testdata/src/a/buildtag.go @@ -0,0 +1,21 @@ +// Copyright 2013 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. + +// This file contains tests for the buildtag checker. + +// +builder // want `possible malformed \+build comment` +// +build !ignore + +// Mention +build // want `possible malformed \+build comment` + +// +build nospace // want "build comment must appear before package clause and be followed by a blank line" +package a + +// +build toolate // want "build comment must appear before package clause and be followed by a blank line$" + +var _ = 3 + +var _ = ` +// +build notacomment +`