Mercurial > hg > CbC > old > device
view test/tmp2.c @ 6:bf602558130d
continuation
author | kono |
---|---|
date | Thu, 13 Jan 2000 13:41:09 +0900 |
parents | d35df41eac69 |
children | 096559f07a70 |
line wrap: on
line source
#include "stdio.h" int main(ac,av) int ac; char *av[]; { int i; i=main0(ac,av); fprintf(stderr,"1: %s %d\n",av[0],i); return i; } int main0(ac,av) int ac; char *av[]; { fprintf(stderr,"2: %s\n",av[0]); goto code0(av,return,environment); } code code0(av,ret,retenv) char *av[]; code (*ret)(); void *retenv; { char *p; p = av[0]; fprintf(stderr,"3: %s\n",p); goto code1(av,ret,retenv); } code code1(av,ret,retenv) char *av[]; code (*ret)(); void *retenv; { fprintf(stderr,"4: %s\n",av[0]); goto (*ret)(1234),retenv; }