Commit 793a97fb authored by Ian Lance Taylor's avatar Ian Lance Taylor

Get this bug back to the intended state: bug1.go is making a

reference to a type which should not be visible.  The test
currently fails with 6g.

R=rsc
DELTA=7  (4 added, 0 deleted, 3 changed)
OCL=23222
CL=23225
parent 87b1f05d
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package bug0 package bug0
type T0 struct { type t0 struct {
} }
var V0 T0 var V0 t0
...@@ -6,4 +6,8 @@ package bug1 ...@@ -6,4 +6,8 @@ package bug1
import "bug0" import "bug0"
var v1 bug0.T0 // This is expected to fail--t0 is in package bug0 and should not be
// visible here in package bug1. The test for failure is in
// ../bug083.go.
var v1 bug0.t0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment