14 dump (&My_R1
, sizeof (struct R1
));
16 /* { dg-output "My_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" } */
19 dump (&My_R2
, sizeof (struct R2
));
21 /* { dg-output "My_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" } */
25 dump (&Local_R1
, sizeof (struct R1
));
27 /* { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" } */
31 dump (&Local_R2
, sizeof (struct R2
));
33 /* { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" } */
35 Local_R1
.I
= 0x12345678;
36 Local_R1
.N
.A
[0] = 0xAB0012;
37 Local_R1
.N
.A
[1] = 0xCD0034;
38 Local_R1
.N
.A
[2] = 0xEF0056;
40 dump (&Local_R1
, sizeof (struct R1
));
42 /* { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" } */
44 Local_R2
.I
= 0x12345678;
45 Local_R2
.N
.A
[0] = 0xAB0012;
46 Local_R2
.N
.A
[1] = 0xCD0034;
47 Local_R2
.N
.A
[2] = 0xEF0056;
49 dump (&Local_R2
, sizeof (struct R2
));
51 /* { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" } */
53 Local_R1
.I
= Local_R2
.I
;
54 Local_R1
.N
.A
[0] = Local_R2
.N
.A
[0];
55 Local_R1
.N
.A
[1] = Local_R2
.N
.A
[1];
56 Local_R1
.N
.A
[2] = Local_R2
.N
.A
[2];
59 dump (&Local_R1
, sizeof (struct R1
));
61 /* { dg-output "Local_R1 : 78 56 34 12 00 ab 00 12 00 cd 00 34 00 ef 00 56.*\n" } */
63 Local_R2
.I
= Local_R1
.I
;
64 Local_R2
.N
.A
[0] = Local_R1
.N
.A
[0];
65 Local_R2
.N
.A
[1] = Local_R1
.N
.A
[1];
66 Local_R2
.N
.A
[2] = Local_R1
.N
.A
[2];
69 dump (&Local_R2
, sizeof (struct R2
));
71 /* { dg-output "Local_R2 : 12 34 56 78 12 00 ab 00 34 00 cd 00 56 00 ef 00.*\n" } */