view sources/cbcreturn.cbc @ 1:aa09c34b90d3

add quicksort_for_pcc add sources, figures.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Mon, 01 Feb 2010 20:37:36 +0900
parents
children d2999e94b97d
line wrap: on
line source

__code cs(RET_FUNC ret)
{
    goto ret(2);
}

int funcB()
{
    /* do something.  */
    goto cs(__return);

    /* never reached.  */
    return -1;
}

void funcA()
{
    int t;

    t = funcB();

    printf("t=%d\n", t);
    /* t should not be -1 but 2.  */
}