Debian Codegraph @

test/fixedbugs/issue45706.go

raw
1 // compile
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 var arr []*int
11 var f func() int
12
13 func g() {
14 for i, *(arr[f()]) = range []int{} {
15 }
16 }
17
18 func h() {
19 var x int
20 var f func() int
21 var arr []int
22 var arr2 [][0]rune
23 for arr[x], arr2[arr[f()]][x] = range "" {
24 }
25 }