Mercurial > hg > CbC > CbC_examples
view rectype/rectype.cbc @ 8:37a10fd62ea9
add programs for prototype generation checking
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Feb 2015 21:19:46 +0900 |
parents | bacef8675607 |
children |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> __code print(__rectype *p) { printf("print\n"); exit(0); } __code csA(__rectype *p) { goto p(csA); } void main1() { goto csA(print); } int main() { main1(); return 0; }