summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue6295.go
diff options
context:
space:
mode:
authorR?my Oudompheng <oudomphe@phare.normalesup.org>2014-01-21 22:55:50 -0500
committerR?my Oudompheng <oudomphe@phare.normalesup.org>2014-01-21 22:55:50 -0500
commit0a22820ae2027c2f491331e3ea94081eef6701a6 (patch)
tree2945ecba2c8ef7f92be1f8448d4303448b261567 /test/fixedbugs/issue6295.go
parent807a9088870363ec123189b083be226072db9a4a (diff)
downloadgo-0a22820ae2027c2f491331e3ea94081eef6701a6.tar.gz
cmd/gc: preserve qualified names of unexported methods in imports.
Fixes issue 6295. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/20850043 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'test/fixedbugs/issue6295.go')
-rw-r--r--test/fixedbugs/issue6295.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixedbugs/issue6295.go b/test/fixedbugs/issue6295.go
new file mode 100644
index 000000000..b8da21272
--- /dev/null
+++ b/test/fixedbugs/issue6295.go
@@ -0,0 +1,10 @@
+// compiledir
+
+// Copyright 2013 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.
+
+// Issue 6295: qualified name of unexported methods
+// is corrupted during import.
+
+package ignored