view first.c @ 2:bf65d90b8dc8

*** empty log message ***
author kinjo
date Mon, 28 Nov 2005 13:34:57 +0900
parents e59ebf6fe2b0
children ae12f717a62e
line wrap: on
line source

//#include <stdio.h>

code
code2(code (*exit0)(int), void *env)
{
    printf("aho\n");
    goto exit0(0), env;
}

code
code1(code *(exit0)(int), void *env)
{
    printf("hello\n");
    goto code2(exit0, env);
}

void
aho()
{
    goto code1(return,environment);    
}

int
main()
{
    aho();
    printf("finish\n");
    return 0;
}