blob: 294278670f22e242bf3228e04eba0a5e73dc32e7 [file] [log] [blame]
package a
func f() {
One() // want `inline call of a.One`
new(T).Two() // 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`