ptr_114_test.go 212 B

123456789101112131415
  1. // +build go1.14
  2. package test
  3. func init() {
  4. unmarshalCases = append(unmarshalCases, unmarshalCase{
  5. obj: func() interface{} {
  6. var i int
  7. pi := &i
  8. ppi := &pi
  9. return &ppi
  10. },
  11. input: "null",
  12. })
  13. }