mirror of
https://github.com/golang/go
synced 2024-11-18 23:44:43 -07:00
641e8bc2c7
For #47131 Change-Id: Ie2d5a2bd3dceec607544c43e6dc68bd5ea353091 Reviewed-on: https://go-review.googlesource.com/c/go/+/335172 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org>
14 lines
267 B
Go
14 lines
267 B
Go
// 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 a
|
|
|
|
type MyInt int
|
|
|
|
type MyIntAlias = MyInt
|
|
|
|
func (mia *MyIntAlias) Get() int {
|
|
return int(*mia)
|
|
}
|