Commit defecbd7 authored by Robert Griesemer's avatar Robert Griesemer

bug: non-exported type is accessible in client

R=r
OCL=13736
CL=13738
parent c6eb85ae
// 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.
package bug0
type T0 struct {
}
export v0
var v0 T0
// 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.
package bug1
import "bug0"
var v1 bug0.T0
// $G $D/$F.dir/bug0.go && errchk $G $D/$F.dir/bug1.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.
...@@ -253,6 +253,8 @@ BUG: fails incorrectly ...@@ -253,6 +253,8 @@ BUG: fails incorrectly
bugs/bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32 bugs/bug082.go:7: fatal error: optoas: no entry COM-<int32>INT32
BUG: fails incorrectly BUG: fails incorrectly
=========== bugs/bug083.go
=========== fixedbugs/bug000.go =========== fixedbugs/bug000.go
=========== fixedbugs/bug001.go =========== fixedbugs/bug001.go
......
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