Mercurial > hg > CbC > CbC_gcc
view CbC-examples/rectypeTest/inparm.cbc @ 121:49957f95a4d1
fix fntype
author | anatofuz |
---|---|
date | Fri, 09 Mar 2018 19:18:14 +0900 |
parents | 85047c4f1ca4 |
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; }