diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@debian.org> | 2014-06-19 09:22:53 +0200 |
commit | 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 (patch) | |
tree | 4449f2036cccf162e8417cc5841a35815b3e7ac5 /test/import4.dir | |
parent | c8bf49ef8a92e2337b69c14b9b88396efe498600 (diff) | |
download | golang-upstream/1.3.tar.gz |
Imported Upstream version 1.3upstream/1.3
Diffstat (limited to 'test/import4.dir')
-rw-r--r-- | test/import4.dir/empty.go | 2 | ||||
-rw-r--r-- | test/import4.dir/import4.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/import4.dir/empty.go b/test/import4.dir/empty.go index c8214f36d..1dffa170d 100644 --- a/test/import4.dir/empty.go +++ b/test/import4.dir/empty.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package P +package empty import ( ) const ( ) diff --git a/test/import4.dir/import4.go b/test/import4.dir/import4.go index b9f973f17..f92c663d0 100644 --- a/test/import4.dir/import4.go +++ b/test/import4.dir/import4.go @@ -18,7 +18,7 @@ import X "math" // ERROR "imported and not used.*math" import . "bufio" // ERROR "imported and not used.*bufio" // again, package without anything in it -import "./empty" // ERROR "imported and not used.*empty" -import Z "./empty" // ERROR "imported and not used.*empty" +import "./empty" // GC_ERROR "imported and not used.*empty" +import Z "./empty" // GC_ERROR "imported and not used.*empty" import . "./empty" // ERROR "imported and not used.*empty" |