1
0
mirror of https://github.com/golang/go synced 2024-11-22 12:24:47 -07:00
go/test/fixedbugs/bug192.go
Rob Pike 770485e522 add bug to capture double declaration of name in file and package block
R=rsc
DELTA=12  (12 added, 0 deleted, 0 changed)
OCL=33554
CL=33563
2009-08-19 17:37:23 -07:00

12 lines
241 B
Go

// errchk $G $D/$F.go
// Copyright 2009 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.
package main
import "fmt"
var fmt int // ERROR "redecl"