test/fixedbugs/bug448.dir/pkg2.go
raw| 1 | // Copyright 2012 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 | // Issue 3843: inlining bug due to wrong receive operator precedence. |
| 6 | |
| 7 | package pkg2 |
| 8 | |
| 9 | import "./pkg1" |
| 10 | |
| 11 | func F() { |
| 12 | pkg1.Do() |
| 13 | } |
| 14 |