view Paper/src/CbC_sample.cbc @ 12:2c54886cebef

add evaluation
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Sun, 30 Jan 2022 04:52:30 +0900
parents 3d8fcd42a513
children
line wrap: on
line source

__code CG2(int num3){
  printf("num = %d\n", num3);
  exit(0);
}

__code CG1(int num, int num1){
  int num2 = num + num1;
  goto CG2(num2);
}

int main(){
  int a = 2;
  int b = 3;
  goto CG1(a, b);
}