1// Copyright 2021 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 b 6 7type t int 8 9func (t) m() {} 10 11func F1() interface{} { return struct{ t }{} } 12func F2() interface{} { return *new(struct{ t }) } 13func F3() interface{} { var x [1]struct{ t }; return x[0] } 14