Debian Codegraph @

test/fixedbugs/issue73476.go

raw
1 // run
2
3 // Copyright 2025 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 main
8
9 //go:noinline
10 func f(p *[4]int) {
11 for i := range (*p) { // Note the parentheses! gofmt wants to remove them - don't let it!
12 println(i)
13 }
14 }
15 func main() {
16 f(nil)
17 }