test/fixedbugs/issue18895.dir/q.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 q |
| 6 | |
| 7 | import "./p" |
| 8 | |
| 9 | func x() { // ERROR "can inline x" |
| 10 | p.F() // ERROR "inlining call to .*\.F" "inlining call to .*\.m" |
| 11 | } |