Mercurial > hg > Papers > 2019 > anatofuz-prosym
view Paper/src/cbc_example.cbc @ 22:fb4c1b408c9f
add sample codes and tweak tex
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 17:49:04 +0900 |
parents | |
children | b2d28fb0b7a3 |
line wrap: on
line source
extern int printf(const char*,...); int main (){ int data = 0; goto cs1(&data); } __code cs1(int *datap){ (*datap)++; goto cs2(datap); } __code cs2(int *datap){ (*datap)++; printf("%d\n",*datap); }