summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue6406.go
blob: 5491193ef31b56ff0d4cabab341f8d82724f9990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// errorcheck

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package main

func main() {
	s = "bob" // ERROR "undefined.*s"
	_ = s // ERROR "undefined.*s"
}