blob: 021b08fa528f5f39e96f963793df253e7a696642 [file] [log] [blame]
package main
import "unsafe"
func init() {
register("panicOnNilAndEleSizeIsZero", panicOnNilAndEleSizeIsZero)
}
func panicOnNilAndEleSizeIsZero() {
var p *struct{}
_ = unsafe.Slice(p, 5)
}