2
0
mirror of synced 2025-02-24 07:18:15 +00:00
mobile/bind/testdata/ignore.go

46 lines
717 B
Go
Raw Normal View History

// 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 ignore tests that exported, but otherwise
// unsupported functions, variables, fields and methods
// are ignored by the generators
package ignore
var Var interface{}
type (
NamedString string
)
const NamedConst NamedString = "foo"
var V interface{}
func Argument(_ interface{}) {
}
func Result() interface{} {
return nil
}
type S struct {
F interface{}
}
type (
F func()
)
func (_ *S) Argument(_ interface{}) {
}
func (_ *S) Result() interface{} {
return nil
}
type I interface {
Argument(_ interface{})
Result() interface{}
}