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);
|
172
|
10 fprintf(stdout,"1: %s %d\n",av[0],i);
|
|
11 return 0;
|
0
|
12 }
|
|
13
|
|
14 int
|
|
15 main0(ac,av)
|
|
16 int ac;
|
|
17 char *av[];
|
|
18 {
|
172
|
19 fprintf(stdout,"2: %s\n",av[0]);
|
0
|
20 goto code0(av,return,environment);
|
|
21 }
|
|
22
|
|
23 code code0(av,ret,retenv)
|
|
24 char *av[];
|
|
25 code (*ret)();
|
|
26 void *retenv;
|
|
27 {
|
|
28 char *p;
|
|
29 p = av[0];
|
172
|
30 fprintf(stdout,"3: %s\n",p);
|
0
|
31 goto code1(av,ret,retenv);
|
|
32 }
|
|
33
|
|
34 code code1(av,ret,retenv)
|
|
35 char *av[];
|
|
36 code (*ret)();
|
|
37 void *retenv;
|
|
38 {
|
172
|
39 fprintf(stdout,"4: %s\n",av[0]);
|
0
|
40 goto (*ret)(1234),retenv;
|
|
41 }
|