Debian Codegraph @

test/fixedbugs/issue25966.go

raw
1 // compile -N
2
3 // Copyright 2018 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 // Issue 25966: liveness code complains autotmp live on
8 // function entry.
9
10 package p
11
12 var F = []func(){
13 func() func() { return (func())(nil) }(),
14 }
15
16 var A = []int{}
17
18 type ss struct {
19 string
20 float64
21 i int
22 }
23
24 var V = A[ss{}.i]