mirror of
https://github.com/golang/go
synced 2024-11-22 23:50:03 -07:00
c1363b2d91
Also: Remove double "go:" prefix in related error message. Fixes #18882. Change-Id: Ifbbd8e2f7529b43f035d3dbf7ca4a91f212bc6b6 Reviewed-on: https://go-review.googlesource.com/36121 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
14 lines
309 B
Go
14 lines
309 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.
|
|
|
|
// Verify that we have a line number for this error.
|
|
|
|
package main
|
|
|
|
//go:cgo_ldflag // ERROR "usage: //go:cgo_ldflag"
|
|
func main() {
|
|
}
|