1
0
mirror of https://github.com/json-iterator/go.git synced 2025-05-13 21:36:29 +02:00

Enhance test for overlap and embedded

This commit is contained in:
Tim Hockin 2017-06-29 21:45:38 -07:00
parent b07d1abc4f
commit 9ec64591b6

View File

@ -1,10 +1,15 @@
package test package test
type Embedded struct { type E1 struct {
F1 int32 F1 int32
} }
type T struct { type E2 struct {
F1 string F2 string
Embedded }
type T struct {
E1
E2
F1 string
} }