annotate gcc/testsuite/gcc.c-torture/compile/20020109-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 typedef union
kono
parents:
diff changeset
2 {
kono
parents:
diff changeset
3 unsigned char member3;
kono
parents:
diff changeset
4 signed short member4;
kono
parents:
diff changeset
5 unsigned int member5;
kono
parents:
diff changeset
6 }
kono
parents:
diff changeset
7 UNI02;
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 struct srt_dat_t
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 UNI02 un2;
kono
parents:
diff changeset
12 unsigned long member1;
kono
parents:
diff changeset
13 signed short member2;
kono
parents:
diff changeset
14 };
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 struct srt_dat_t exsrt1;
kono
parents:
diff changeset
17 void
kono
parents:
diff changeset
18 extern_test (struct srt_dat_t arg1)
kono
parents:
diff changeset
19 {
kono
parents:
diff changeset
20 arg1.un2.member3++;
kono
parents:
diff changeset
21 arg1.member1++;
kono
parents:
diff changeset
22 arg1.member2++;
kono
parents:
diff changeset
23 }
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 int
kono
parents:
diff changeset
26 main (void)
kono
parents:
diff changeset
27 {
kono
parents:
diff changeset
28 extern_test (exsrt1);
kono
parents:
diff changeset
29 return (0);
kono
parents:
diff changeset
30 }