summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue4776.go
blob: a1009ad96130919bba718f9a0f8796527f53a76a (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|package clause"