diff --git a/test/import1.go b/test/import1.go new file mode 100644 index 0000000000..caa12224c8 --- /dev/null +++ b/test/import1.go @@ -0,0 +1,14 @@ +// 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" +)