2
0
mirror of synced 2025-02-24 15:28:28 +00:00
mobile/bind/testpkg/unboundpkg/unboundpkg.go
Elias Naur eb6cb84428 mobile/bind: ignore unbound types
If a method or function refers to a type from an unbound package,
ignore it instead of reporting an error.

Change-Id: I689da63c1a0d1a3aa09220311d871c1f6f66208f
Reviewed-on: https://go-review.googlesource.com/20985
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2016-03-21 23:28:22 +00:00

13 lines
332 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 simplepkg is imported from testpkg and tests
// that references to other, unbound packages, are ignored.
package unboundpkg
type (
S struct{}
I interface{}
)