blob: f51e90183aaf68808615922e0e1f5d1e39f5a82f [file] [log] [blame]
// 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{}
}