mirror of
https://github.com/golang/go
synced 2024-11-18 09:54:57 -07:00
6e549d2dfd
Minimal reconstruction of reported failure case. Manually verified that test fails with CL 45911 reverted. Change-Id: Ia5d11500d91b46ba1eb5d841db3987edb9136c39 Reviewed-on: https://go-review.googlesource.com/45970 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org>
14 lines
246 B
Go
14 lines
246 B
Go
// Copyright 2017 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 q
|
|
|
|
import "./p"
|
|
|
|
type T struct{}
|
|
|
|
func (T) M() interface{} {
|
|
return &p.T{}
|
|
}
|