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.
5 // This file contains tests for the buildtag checker.
7 // +builder // want `possible malformed \+build comment`
10 // Mention +build // want `possible malformed \+build comment`
12 // +build nospace // want "build comment must appear before package clause and be followed by a blank line"
15 // +build toolate // want "build comment must appear before package clause and be followed by a blank line$"