mirror of
https://github.com/golang/go
synced 2024-11-18 00:04:43 -07:00
reflect: add embedded field test
Gccgo failed this test. Updates #23620 Change-Id: I3979a6d3b87d2d014850accf9cb7f356349e6195 Reviewed-on: https://go-review.googlesource.com/91138 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
b03f1d1a7e
commit
9558ba293f
@ -170,6 +170,14 @@ var typeTests = []pair{
|
||||
}{},
|
||||
"interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }",
|
||||
},
|
||||
{struct {
|
||||
x struct {
|
||||
int32
|
||||
int64
|
||||
}
|
||||
}{},
|
||||
"struct { int32; int64 }",
|
||||
},
|
||||
}
|
||||
|
||||
var valueTests = []pair{
|
||||
|
Loading…
Reference in New Issue
Block a user