Debian Codegraph @

test/fixedbugs/issue43677.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 // Issue #43677: ICE during compilation of dynamic initializers for
8 // composite blank variables.
9
10 package p
11
12 func f() *int
13
14 var _ = [2]*int{nil, f()}
15
16 var _ = struct{ x, y *int }{nil, f()}
17
18 var _ interface{} = f()