1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:08:38 -07:00
go/test/import1.go
Russ Cox 9a861b6aaa check for redeclaration of package name
R=r
DELTA=10  (10 added, 0 deleted, 0 changed)
OCL=28585
CL=28591
2009-05-08 16:40:55 -07:00

15 lines
290 B
Go

// errchk $G -e $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.
// check for import conflicts
package main
import (
"bufio";
bufio "os"; // ERROR "redeclaration"
)