Przeglądaj źródła

Enhance test for overlap and embedded

Tim Hockin 8 lat temu
rodzic
commit
9ec64591b6

+ 7 - 2
output_tests/struct/anonymous/overlap/different_levels/types.go

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