Mercurial > hg > CbC > CbC_examples
view rectypeTest/inparm.cbc @ 5:90e6146d24cd
fix stack1.c
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 22 Oct 2014 19:02:57 +0900 |
parents | bacef8675607 |
children |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> __code print(__rectype *p) { puts("inparm: hello"); exit(0); } __code csA(__code (*p)(__rectype*)) { goto p(csA); } void main1() { goto csA(print); } int main() { main1(); return 0; }