mirror of
https://github.com/golang/go
synced 2024-11-18 08:24:44 -07:00
1c6706c71b
For #51291 Change-Id: If47e4cbf899853ade5050852c3870b9500da4c63 Reviewed-on: https://go-review.googlesource.com/c/go/+/406916 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
12 lines
237 B
Go
12 lines
237 B
Go
// Copyright 2022 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 b
|
|
|
|
import "./a"
|
|
|
|
type TypeB string
|
|
|
|
const StrB TypeB = TypeB(a.StrA)
|