3 // Copyright 2017 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Issue 20029: make sure we zero at VARKILLs of
8 // ambiguously live variables.
9 // The ambiguously live variable here is the hiter
10 // for the inner range loop.
16 func f(m map[int]int) {
18 for i := 0; i < 10; i++ {
30 m := map[int]int{1: 2, 2: 3, 3: 4}