Debian Codegraph @

src/cmd/vet/testdata/buildtag/buildtag2.go

raw
1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // This file contains tests for the buildtag checker.
6
7 // ERRORNEXT "possible malformed [+]build comment"
8 // +builder
9 // +build !ignore
10
11 package testdata
12
13 // ERRORNEXT "misplaced \+build comment"
14 // +build toolate
15 // ERRORNEXT "misplaced //go:build comment"
16 //go:build toolate
17
18 var _ = 3
19
20 var _ = `
21 // +build notacomment
22 `