Delta Between Two Patch Sets: src/cmd/godefs/testdata_darwin_386.golden
Issue 5256041 :
code review 5256041: godefs: add enum/const testdata (Closed)
Left Patch Set: diff -r 65d7e79f0fc7 https://go.googlecode.com/hg/
Right Patch Set: diff -r 4f8aab94dfd3 https://go.googlecode.com/hg/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/cmd/godefs/testdata.c
src/cmd/godefs/testdata_darwin_386.golden
src/cmd/godefs/testdata_darwin_amd64.golden
src/cmd/godefs/testdata_linux_arm.golden
LEFT RIGHT
(no file at all) 1 // ./godefs -g test -f-m32 testdata.c 1 // ./godefs -g test -f-m32 testdata.c
2 2
3 // MACHINE GENERATED - DO NOT EDIT. 3 // MACHINE GENERATED - DO NOT EDIT.
4 4
5 package test 5 package test
6 6
7 // Constants 7 // Constants
8 const (
9 sizeofPtr = 0x4;
10 sizeofShort = 0x2;
11 sizeofInt = 0x4;
12 sizeofLong = 0x4;
13 sizeofLongLong = 0x8;
14 )
8 15
9 // Types 16 // Types
10 17
11 type T2 struct { 18 type T2 struct {
12 A uint8; 19 A uint8;
13 Pad_godefs_0 [3]byte; 20 Pad_godefs_0 [3]byte;
14 B uint32; 21 B uint32;
15 C uint32; 22 C uint32;
16 D uint16; 23 D uint16;
17 Pad_godefs_1 [2]byte; 24 Pad_godefs_1 [2]byte;
18 } 25 }
19 26
20 type T3 struct { 27 type T3 struct {
21 A uint8; 28 A uint8;
22 Pad_godefs_0 [3]byte; 29 Pad_godefs_0 [3]byte;
23 Pad0 int32; 30 Pad0 int32;
24 } 31 }
25 32
26 type T4 struct { 33 type T4 struct {
27 } 34 }
28 35
29 type T5 struct { 36 type T5 struct {
30 A *T4; 37 A *T4;
31 } 38 }
LEFT RIGHT