summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue4776.go
blob: c38dc09b12e8a129c98f08037080326eb3f74111 (plain)
1
2
3
4
5
6
7
8
9
10
// 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"