gcc/testsuite/go.test/test/fixedbugs/issue32901.dir/c.go
raw| 1 | // Copyright 2019 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 c |
| 6 | |
| 7 | import "./b" |
| 8 | |
| 9 | func F() interface{} { |
| 10 | go func(){}() // make it non-inlineable |
| 11 | return b.F() |
| 12 | } |
| 13 | |
| 14 | func P() interface{} { |
| 15 | go func(){}() // make it non-inlineable |
| 16 | return b.P() |
| 17 | } |