1// Copyright 2022 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package a
6
7type A struct {
8	New func() any
9}
10
11func NewA(i int) *A {
12	return &A{
13		New: func() any {
14			_ = i
15			return nil
16		},
17	}
18}
19