3 // Copyright 2015 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.
12 m := make(map[string]int)
13 // Test that map index can be used in range
14 // and that slicebytetostringtmp is not used in this context.
15 for m[string(b)] = range s {