Debian Codegraph @

test/fixedbugs/issue18895.dir/p.go

raw
1 // Copyright 2017 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package p
6
7 func F() { // ERROR "can inline"
8 var v t
9 v.m() // ERROR "inlining call"
10 }
11
12 type t int
13
14 func (t) m() {} // ERROR "can inline"