File: ptr_114_test.go

package info (click to toggle)
golang-github-json-iterator-go 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, sid
  • size: 896 kB
  • sloc: sh: 19; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build go1.14

package test

func init() {
	unmarshalCases = append(unmarshalCases, unmarshalCase{
		obj: func() interface{} {
			var i int
			pi := &i
			ppi := &pi
			return &ppi
		},
		input: "null",
	})
}