Debian Codegraph @

test/fixedbugs/issue71759.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 *[2]int32) (int64, int64) {
11 return int64(p[0]), int64(p[1])
12 }
13
14 func main() {
15 p := [2]int32{-1, -1}
16 x, y := f(&p)
17 if x != -1 || y != -1 {
18 println(x, y)
19 }
20 }