blob: 4223a32c865b6d5e77fffe5efc3a0929cdc2a732 [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"), codeaction("f", "refactor.inline.call", end=")", err=re`inlining failed \("args/params mismatch"\), likely because inputs were ill-typed`)
}
func f(int) {}