blob: f114c501d197bcf84fd39c7d5e4e7b10d2e0c985 [file] [log] [blame]
This test checks that we don't crash while completing receivers that may happen
to be builtin types (due to invalid code). This crash was reported by telemetry
in golang/go#71044.
-- flags --
-ignore_extra_diags
-- go.mod --
module example.com/amap
go 1.18
-- a.go --
package amap
import "unsafe"
func (unsafe.Pointer) _() {} //@ rank(re"()unsafe")