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
10package p
11
12func f() *int
13
14var _ = [2]*int{nil, f()}
15
16var _ = struct{ x, y *int }{nil, f()}
17
18var _ interface{} = f()
19