Source file src/cmd/vet/testdata/buildtag/buildtag3.go

     1  // Copyright 2020 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  //go:build good
     8  // ERRORNEXT "[+]build lines do not match //go:build condition"
     9  // +build bad
    10  
    11  package testdata
    12  
    13  var _ = `
    14  // +build notacomment
    15  `
    16  

View as plain text