blob: 4a5e59f9f9a882894c32b288b3cd4ad804ba9946 [file] [log] [blame]
Regression test for a crash (#66923) in outgoing calls
to a built-in function (unsafe.Slice).
-- go.mod --
module example.com
go 1.17
-- a/a.go --
package a
import "unsafe"
func A() []int { //@ loc(A, "A")
return unsafe.Slice(new(int), 1) //@ outgoingcalls(A)
}