3 // Copyright 2016 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 // This file tests that required algs are generated,
8 // even when similar types have been marked elsewhere
9 // as not needing algs. See CLs 19769 and 19770.
16 func f(m map[[8]string]int) int {
22 func g(m map[[8]interface{}]int) int {
28 func h(m map[[2]string]int) int {
33 type T map[string]interface{}
35 func v(x ...string) string {
41 f(map[[8]string]int{}),
42 g(map[[8]interface{}]int{}),
43 h(map[[2]string]int{}),