gotools/gopls/internal/test/marker/testdata/quickfix/undeclaredfunc.txt

This test checks the quick fix for "undeclared: f" that declares the
missing function. See #47558.

TODO(adonovan): infer the result variables from the context (int, in this case).

-- a.go --
package a

func _() int { return f(1, "") } //@quickfix(re"f.1", re"unde(fined|clared name): f", x)

-- @x/a.go --
@@ -3 +3 @@
-func _() int { return f(1, "") } //@quickfix(re"f.1", re"unde(fined|clared name): f", x)
+func _() int { return f(1, "") }
@@ -5 +5,4 @@
+func f(i int, s string) {
+	panic("unimplemented")
+} //@quickfix(re"f.1", re"unde(fined|clared name): f", x)
+