annotate test/tmp1.c @ 16:ca0bce3b4810

struct copy
author kono
date Mon, 17 Jan 2000 16:08:16 +0900
parents d35df41eac69
children 096559f07a70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
1
d35df41eac69 Initial revision
kono
parents:
diff changeset
2 main(ac,av)
d35df41eac69 Initial revision
kono
parents:
diff changeset
3 int ac;
d35df41eac69 Initial revision
kono
parents:
diff changeset
4 char *av[];
d35df41eac69 Initial revision
kono
parents:
diff changeset
5 {
d35df41eac69 Initial revision
kono
parents:
diff changeset
6 if (ac>1)
d35df41eac69 Initial revision
kono
parents:
diff changeset
7 goto code1(av,return);
d35df41eac69 Initial revision
kono
parents:
diff changeset
8 goto code1(ac,av);
d35df41eac69 Initial revision
kono
parents:
diff changeset
9 }
d35df41eac69 Initial revision
kono
parents:
diff changeset
10
d35df41eac69 Initial revision
kono
parents:
diff changeset
11 code code3(a,b,c,d,e,f)
d35df41eac69 Initial revision
kono
parents:
diff changeset
12 char a,b;
d35df41eac69 Initial revision
kono
parents:
diff changeset
13 int c,d,e,f;
d35df41eac69 Initial revision
kono
parents:
diff changeset
14 {
d35df41eac69 Initial revision
kono
parents:
diff changeset
15 if(a)
d35df41eac69 Initial revision
kono
parents:
diff changeset
16 goto code3(a,b,c,d,e,f);
d35df41eac69 Initial revision
kono
parents:
diff changeset
17 else
d35df41eac69 Initial revision
kono
parents:
diff changeset
18 goto code3(a+3,b+3,c+3,d+3,e+3,f+3);
d35df41eac69 Initial revision
kono
parents:
diff changeset
19 }
d35df41eac69 Initial revision
kono
parents:
diff changeset
20
d35df41eac69 Initial revision
kono
parents:
diff changeset
21 code code4(a,b,c,d,e,f)
d35df41eac69 Initial revision
kono
parents:
diff changeset
22 char a,b;
d35df41eac69 Initial revision
kono
parents:
diff changeset
23 int c,d,e,f;
d35df41eac69 Initial revision
kono
parents:
diff changeset
24 {
d35df41eac69 Initial revision
kono
parents:
diff changeset
25 int i,j;
d35df41eac69 Initial revision
kono
parents:
diff changeset
26 if(a)
d35df41eac69 Initial revision
kono
parents:
diff changeset
27 goto code3(a,b,c,d,e,f);
d35df41eac69 Initial revision
kono
parents:
diff changeset
28 else
d35df41eac69 Initial revision
kono
parents:
diff changeset
29 goto code3(a+i,b+j,c+i,d+3,e+3,f+3);
d35df41eac69 Initial revision
kono
parents:
diff changeset
30 }
d35df41eac69 Initial revision
kono
parents:
diff changeset
31
d35df41eac69 Initial revision
kono
parents:
diff changeset
32 code code0(ac,av)
d35df41eac69 Initial revision
kono
parents:
diff changeset
33 int ac;
d35df41eac69 Initial revision
kono
parents:
diff changeset
34 char *av[];
d35df41eac69 Initial revision
kono
parents:
diff changeset
35 {
d35df41eac69 Initial revision
kono
parents:
diff changeset
36 goto code0(ac,av);
d35df41eac69 Initial revision
kono
parents:
diff changeset
37 }
d35df41eac69 Initial revision
kono
parents:
diff changeset
38
d35df41eac69 Initial revision
kono
parents:
diff changeset
39 code code1(ac,av)
d35df41eac69 Initial revision
kono
parents:
diff changeset
40 int ac;
d35df41eac69 Initial revision
kono
parents:
diff changeset
41 char *av[];
d35df41eac69 Initial revision
kono
parents:
diff changeset
42 {
d35df41eac69 Initial revision
kono
parents:
diff changeset
43 code (*f)();
d35df41eac69 Initial revision
kono
parents:
diff changeset
44 f = ac;
d35df41eac69 Initial revision
kono
parents:
diff changeset
45 if (ac>3)
d35df41eac69 Initial revision
kono
parents:
diff changeset
46 goto code1(ac,av);
d35df41eac69 Initial revision
kono
parents:
diff changeset
47 else if (ac>2)
d35df41eac69 Initial revision
kono
parents:
diff changeset
48 goto code1(av,ac);
d35df41eac69 Initial revision
kono
parents:
diff changeset
49 else
d35df41eac69 Initial revision
kono
parents:
diff changeset
50 goto (*f)(ac,av);
d35df41eac69 Initial revision
kono
parents:
diff changeset
51 }