mirror of
https://github.com/json-iterator/go.git
synced 2025-03-23 21:09:11 +02:00
Enhance test for overlap and embedded
This commit is contained in:
parent
b07d1abc4f
commit
9ec64591b6
@ -1,10 +1,15 @@
|
||||
package test
|
||||
|
||||
type Embedded struct {
|
||||
type E1 struct {
|
||||
F1 int32
|
||||
}
|
||||
|
||||
type T struct {
|
||||
F1 string
|
||||
Embedded
|
||||
type E2 struct {
|
||||
F2 string
|
||||
}
|
||||
|
||||
type T struct {
|
||||
E1
|
||||
E2
|
||||
F1 string
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user