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.
20 if fn == nil || Fv == nil || t.F == nil {
21 // no error; these func vars or fields may be nil
23 if F == nil { // want "comparison of function F == nil is always false"
26 if t.M == nil { // want "comparison of function M == nil is always false"
29 if F != nil { // want "comparison of function F != nil is always true"
30 if t.M != nil { // want "comparison of function M != nil is always true"