mirror of
https://github.com/golang/go
synced 2024-11-11 12:49:30 +00:00
a3c4ac0fbc
Fixes #49110 Change-Id: I32c2cb26cca067a4a676ce4bbc3e51f1e0cdb259 Reviewed-on: https://go-review.googlesource.com/c/go/+/357959 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dan Kortschak <dan@kortschak.io> Reviewed-by: Sebastien Binet <s@sbinet.org> Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
17 lines
389 B
Go
17 lines
389 B
Go
// run
|
|
|
|
// Copyright 2021 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
import "reflect"
|
|
|
|
func main() {
|
|
_ = reflect.StructOf([]reflect.StructField{
|
|
{Name: "_", PkgPath: "main", Type: reflect.TypeOf(int(0))},
|
|
{Name: "_", PkgPath: "main", Type: reflect.TypeOf(int(0))},
|
|
})
|
|
}
|