mirror of
https://github.com/golang/go
synced 2024-11-05 22:46:12 -07:00
9e5445377b
This is copied unchanged from x/exp. Change-Id: I944b912212f7fd844a4bea81605433baf4bcc9a2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/170862 Reviewed-by: Jay Conrod <jayconrod@google.com>
38 lines
399 B
Go
38 lines
399 B
Go
package exported_fields
|
|
|
|
// Used for testing exportedFields.
|
|
// Its exported fields are:
|
|
// A1 [1]int
|
|
// D bool
|
|
// E int
|
|
// F F
|
|
// S *S
|
|
type (
|
|
S struct {
|
|
int
|
|
*embed2
|
|
embed
|
|
E int // shadows embed.E
|
|
alias
|
|
A1
|
|
*S
|
|
}
|
|
|
|
A1 [1]int
|
|
|
|
embed struct {
|
|
E string
|
|
}
|
|
|
|
embed2 struct {
|
|
embed3
|
|
F // shadows embed3.F
|
|
}
|
|
embed3 struct {
|
|
F bool
|
|
}
|
|
alias = struct{ D bool }
|
|
|
|
F int
|
|
)
|