Debian Codegraph @

test/fixedbugs/issue32922.dir/a.go

raw
1 // Copyright 2019 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.
4
5 package a
6
7 func A() int {
8 return p("count")
9 }
10
11 func p(which string, args ...string) int {
12 switch which {
13 case "count", "something":
14 return 1
15 default:
16 return 2
17 }
18 }