Merge from trunk
[official-gcc.git] / gcc / testsuite / go.test / test / fixedbugs / issue4776.go
blob13781af1f361b0428e2dddcd174b79ca6af6445e
1 // errorcheck
3 // Copyright 2013 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Issue 4776: missing package declaration error should be fatal.
9 type MyInt int32 // ERROR "package statement must be first|package clause"