Debian Codegraph @

gcc/testsuite/go.test/test/bombad.go

raw
1 // 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
11 package main
12
13 func 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 }