Home | History | Annotate | Download | only in test

Lines Matching refs:heap

16 	i := 0 // ERROR "moved to heap: i"
18 j := 0 // ERROR "moved to heap: j"
19 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
26 i := 0 // ERROR "moved to heap: i"
27 j := 0 // ERROR "moved to heap: j"
28 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
33 m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) escapes to heap"
34 i := 0 // ERROR "moved to heap: i"
35 j := 0 // ERROR "moved to heap: j"
36 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
42 i := 0 // ERROR "moved to heap: i"
44 j := 0 // ERROR "moved to heap: j"
45 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
56 i := 0 // ERROR "moved to heap: i"
57 j := 0 // ERROR "moved to heap: j"
58 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
71 i := 0 // ERROR "moved to heap: i"
72 j := 0 // ERROR "moved to heap: j"
73 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
80 i := 0 // ERROR "moved to heap: i"
81 j := 0 // ERROR "moved to heap: j"
82 m[&i] = &j // ERROR "&i escapes to heap" "&j escapes to heap"
87 i := 0 // ERROR "moved to heap: i"
89 j := 0 // ERROR "moved to heap: j"
90 m := map[*int]*int{&i: &j} // ERROR "&i escapes to heap" "&j escapes to heap" "literal does not escape"
95 i := 0 // ERROR "moved to heap: i"
96 j := 0 // ERROR "moved to heap: j"
97 m := map[*int]*int{&i: &j} // ERROR "&i escapes to heap" "&j escapes to heap" "literal escapes to heap"
98 sink = m // ERROR "m escapes to heap"
103 i := 0 // ERROR "moved to heap: i"
104 j := 0 // ERROR "moved to heap: j"
105 m := map[*int]*int{&i: &j} // ERROR "&i escapes to heap" "&j escapes to heap" "literal does not escape"