mirror of
https://github.com/golang/go
synced 2024-11-23 06:00:08 -07:00
793a97fbf6
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
14 lines
353 B
Go
14 lines
353 B
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.
|
|
|
|
package bug1
|
|
|
|
import "bug0"
|
|
|
|
// 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
|