blob: b894d9ba9f211d0b5058597a3316b6ef23773174 [file] [log] [blame]
Rob Pike6ce49302012-09-10 13:03:07 -07001// errorcheck
2
3// Copyright 2012 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7// Here for reference, but hard to test automatically
8// because the BOM muddles the
9// processing done by ../run.
10
11package main
12
13func main() {
14 // There's a bom here. // ERROR "BOM"
15 // And here. // ERROR "BOM"
16 /* And here.*/ // ERROR "BOM"
17 println("hi there") // and here // ERROR "BOM"
18}