Source file test/fixedbugs/issue56280.dir/a.go
1 // Copyright 2022 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 a 6 7 func F() { // ERROR "can inline F" 8 g(0) // ERROR "inlining call to g\[go.shape.int\]" 9 } 10 11 func g[T any](_ T) {} // ERROR "can inline g\[int\]" "can inline g\[go.shape.int\]" "inlining call to g\[go.shape.int\]" 12