You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: testdata/src/struct/p.go
+15-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,21 @@ type s1 struct {
6
6
iint
7
7
}
8
8
9
-
types2struct {// want "not implemented"
9
+
types2struct {
10
10
iint
11
11
jint
12
12
}
13
+
14
+
types3struct { // want "struct{.+} has size 20, could be 16, rearrange to struct{y uint64; x uint32; z uint32} for optimal size"
15
+
xuint32
16
+
yuint64
17
+
zuint32
18
+
}
19
+
20
+
types4struct { // want `struct{.+} has size 32, could be 20, rearrange to struct{_ \[0\]func\(\); i1 int; i2 int; a3 \[3\]bool; b bool} for optimal size`
0 commit comments