Mercurial > hg > CbC > old > device
view test/tmp1.c @ 16:ca0bce3b4810
struct copy
author | kono |
---|---|
date | Mon, 17 Jan 2000 16:08:16 +0900 |
parents | d35df41eac69 |
children | 096559f07a70 |
line wrap: on
line source
main(ac,av) int ac; char *av[]; { if (ac>1) goto code1(av,return); goto code1(ac,av); } code code3(a,b,c,d,e,f) char a,b; int c,d,e,f; { if(a) goto code3(a,b,c,d,e,f); else goto code3(a+3,b+3,c+3,d+3,e+3,f+3); } code code4(a,b,c,d,e,f) char a,b; int c,d,e,f; { int i,j; if(a) goto code3(a,b,c,d,e,f); else goto code3(a+i,b+j,c+i,d+3,e+3,f+3); } code code0(ac,av) int ac; char *av[]; { goto code0(ac,av); } code code1(ac,av) int ac; char *av[]; { code (*f)(); f = ac; if (ac>3) goto code1(ac,av); else if (ac>2) goto code1(av,ac); else goto (*f)(ac,av); }