1 // errchk $G -e $D/$F.go
3 // Copyright 2009 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.
10 var n byte // ERROR "not a type|expected type"
11 var y = float(0) // ERROR "cannot call|expected function"
13 a = 1 + iota // ERROR "string|incompatible types"