mirror of
https://github.com/golang/go
synced 2024-11-24 02:30:12 -07:00
3c375f1b7e
Fixes #21256. Change-Id: I3af4c76e734c09d07f15525b793a544a7279b906 Reviewed-on: https://go-review.googlesource.com/79435 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
10 lines
234 B
Go
10 lines
234 B
Go
// errorcheck
|
|
|
|
// Copyright 2017 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
|
|
|
|
var main = func() {} // ERROR "must be func"
|