mirror of
https://github.com/golang/go
synced 2024-11-25 09:17:57 -07:00
66e8471391
No longer continue assuming package main. Fixes #4776. R=golang-dev, r CC=golang-dev https://golang.org/cl/12677043
11 lines
304 B
Go
11 lines
304 B
Go
// errorcheck
|
|
|
|
// Copyright 2013 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.
|
|
|
|
// Issue 4776: missing package declaration error should be fatal.
|
|
|
|
type MyInt int32 // ERROR "package statement must be first"
|
|
|