summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue4776.go
blob: 13781af1f361b0428e2dddcd174b79ca6af6445e (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"