/
/
opt
/
golang
/
1.22.0
/
test
/
fixedbugs
/
issue4879.dir
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.40
PHP 8.3.16
Dir:
/opt/golang/1.22.0/test/fixedbugs/issue4879.dir
Edit:
/opt/golang/1.22.0/test/fixedbugs/issue4879.dir/a.go
package a import ( "unsafe" ) type Collection struct { root unsafe.Pointer } type nodeLoc struct{} type slice []int type maptype map[int]int func MakePrivateCollection() *Collection { return &Collection{ root: unsafe.Pointer(&nodeLoc{}), } } func MakePrivateCollection2() *Collection { return &Collection{ root: unsafe.Pointer(&slice{}), } } func MakePrivateCollection3() *Collection { return &Collection{ root: unsafe.Pointer(&maptype{}), } }
Ukuran: 466 B