CdefsOrig 11 misc/cgo/testcdefs/main.c typedef struct CdefsOrig CdefsOrig; CdefsOrig 23 misc/cgo/testcdefs/main.c CdefsOrig o; CdefsOrig 27 misc/cgo/testcdefs/main.c if(sizeof(t.array1) != sizeof(o.array1) || offsetof(CdefsTest, array1[0]) != offsetof(CdefsOrig, array1[0])) { CdefsOrig 28 misc/cgo/testcdefs/main.c runtime·printf("array1: size, offset = %d, %d, want %d, %d\n", sizeof(t.array1), offsetof(CdefsTest, array1[0]), sizeof(o.array1), offsetof(CdefsOrig, array1[0])); CdefsOrig 31 misc/cgo/testcdefs/main.c if(sizeof(t.array2) != sizeof(o.array2) || offsetof(CdefsTest, array2[0][0]) != offsetof(CdefsOrig, array2[0][0])) { CdefsOrig 32 misc/cgo/testcdefs/main.c runtime·printf("array2: size, offset = %d, %d, want %d, %d\n", sizeof(t.array2), offsetof(CdefsTest, array2[0][0]), sizeof(o.array2), offsetof(CdefsOrig, array2[0][0])); CdefsOrig 35 misc/cgo/testcdefs/main.c if(sizeof(t.array3) != sizeof(o.array3) || offsetof(CdefsTest, array3[0]) != offsetof(CdefsOrig, array3[0])) { CdefsOrig 36 misc/cgo/testcdefs/main.c runtime·printf("array3: size, offset = %d, %d, want %d, %d\n", sizeof(t.array3), offsetof(CdefsTest, array3[0]), sizeof(o.array3), offsetof(CdefsOrig, array3[0])); CdefsOrig 39 misc/cgo/testcdefs/main.c if(sizeof(t.array4) != sizeof(o.array4) || offsetof(CdefsTest, array4[0][0]) != offsetof(CdefsOrig, array4[0][0])) { CdefsOrig 40 misc/cgo/testcdefs/main.c runtime·printf("array4: size, offset = %d, %d, want %d, %d\n", sizeof(t.array4), offsetof(CdefsTest, array4[0][0]), sizeof(o.array4), offsetof(CdefsOrig, array4[0][0])); CdefsOrig 43 misc/cgo/testcdefs/main.c if(sizeof(t.array5) != sizeof(o.array5) || offsetof(CdefsTest, array5[0][0]) != offsetof(CdefsOrig, array5[0][0])) { CdefsOrig 44 misc/cgo/testcdefs/main.c runtime·printf("array5: size, offset = %d, %d, want %d, %d\n", sizeof(t.array5), offsetof(CdefsTest, array5[0][0]), sizeof(o.array5), offsetof(CdefsOrig, array5[0][0]));