1package main
2type s struct { i int };
3func (v *s) val() int { return v.i }
4func main() {
5  p := new(s);
6  if p.val() != 0 { panic(0) }
7}
8