0
|
1 #include "stdio.h"
|
|
2
|
|
3 int
|
|
4 main(ac,av)
|
|
5 int ac;
|
|
6 char *av[];
|
|
7 {
|
|
8 int i;
|
|
9 i=main0(ac,av);
|
180
|
10 fprintf(stdout,"1: %s %d\n",av[0]+2,i);
|
172
|
11 return 0;
|
0
|
12 }
|
|
13
|
|
14 int
|
|
15 main0(ac,av)
|
|
16 int ac;
|
|
17 char *av[];
|
|
18 {
|
|
19 int i,j,k;
|
|
20 i=123;
|
|
21 j=456;
|
|
22 k=789;
|
180
|
23 fprintf(stdout,"2: %s\n",av[0]+2);
|
0
|
24 goto code0(i,j,k,av,return,environment);
|
|
25 }
|
|
26
|
622
|
27 __code code0(i,j,k,av,ret,retenv)
|
0
|
28 int i,j,k;
|
|
29 char *av[];
|
622
|
30 __code (*ret)();
|
0
|
31 void *retenv;
|
|
32 {
|
|
33 char *p;
|
180
|
34 p = av[0]+2;
|
|
35 fprintf(stdout,"3: i=%d j=%d k=%d av[0]=%s p=%s\n",i,j,k,av[0]+2,p);
|
0
|
36 goto code1(i,j,k,av,ret,retenv);
|
|
37 }
|
|
38
|
622
|
39 __code code1(i,j,k,av,ret,retenv)
|
0
|
40 int i,j,k;
|
|
41 char *av[];
|
622
|
42 __code (*ret)();
|
0
|
43 void *retenv;
|
|
44 {
|
180
|
45 fprintf(stdout,"4: %s\n",av[0]+2);
|
0
|
46 goto code2(i,j,k,av,ret,retenv);
|
|
47 }
|
|
48
|
622
|
49 __code code2(i,j,k,av,ret,retenv)
|
0
|
50 int i,j,k;
|
|
51 char *av[];
|
622
|
52 __code (*ret)();
|
0
|
53 void *retenv;
|
|
54 {
|
180
|
55 fprintf(stdout,"5: %s\n",av[0]+2);
|
|
56 fprintf(stdout,"5: i=%d j=%d k=%d\n",i,j,k);
|
0
|
57 goto (*ret)(1234),retenv;
|
|
58 }
|