blob: 1a214fc9148f70b86b1eb7dd3477ed6df54a3221 [file] [log] [blame]
package a
func f() {
_ = one // want `inline call of a.One`
_ = 2 // want `inline call of \(a.T\).Two`
}
type T struct{}
// inlineme
func One() int { return one } // want One:`inlineme a.One`
const one = 1
// inlineme
func (T) Two() int { return 2 } // want Two:`inlineme \(a.T\).Two`