blob: 59aaffba3712f420598e87eebd7d4ec36e08611e [file] [log] [blame]
Test of an inlining failure due to an ill-typed input program (#64558).
-- go.mod --
module example.com
go 1.18
-- a/a.go --
package a
func _() {
f(1, 2) //@ diag("2", re"too many arguments"), codeactionerr("f", ")", "refactor.inline", re`inlining failed \("args/params mismatch"\), likely because inputs were ill-typed`)
}
func f(int) {}