Debian Codegraph @

test/fixedbugs/issue49016.dir/b.go

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