1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Enough gaps to trigger a map implementation of the method.
6 // Also includes a duplicate to test that it doesn't cause problems
19 p77 Prime = 7 // Duplicate; note that p77 doesn't appear below.
52 func ck(prime Prime, str string) {
53 if fmt.Sprint(prime) != str {
54 panic("prime.go: " + str)