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