mirror of
https://github.com/golang/go
synced 2024-11-15 00:20:30 -07:00
d37d76af43
Fixes #14164. Change-Id: Ib1d1d29674c99cf88e0ae12724823a31f5dbb95c Reviewed-on: https://go-review.googlesource.com/19087 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
13 lines
350 B
Go
13 lines
350 B
Go
// Copyright 2016 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 main
|
|
|
|
// Verify that we can import package "a" containing an inlineable
|
|
// function F that declares a local interface with a non-exported
|
|
// method f.
|
|
import _ "./a"
|
|
|
|
func main() {}
|