Debian Codegraph @

test/fixedbugs/issue48026.go

raw
1 // compile -d=ssa/check/on
2
3 // Copyright 2021 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.
6
7 package p
8
9 var i int
10
11 type t struct {
12 a, b, c, d, e int
13 }
14
15 func f(p t, q int) int {
16 var a, b, c, d, e, f, g int
17 var h, i, j, k, l, m int
18 _, _, _, _, _, _, _ = a, b, c, d, e, f, g
19 _, _, _, _, _, _ = h, i, j, k, l, m
20 return 0
21 }
22
23 func g() int {
24 var v t
25 return f(v, 1<<i)
26 }