Mercurial > hg > Members > taiki > cbc_test
changeset 2:c4f71c17c966
add test data
author | Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 Jul 2012 21:07:42 +0900 |
parents | e8992ca15539 |
children | ff247dc87f35 |
files | hello.cbc |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hello.cbc Fri Jun 15 18:42:46 2012 +0900 +++ b/hello.cbc Fri Jul 27 21:07:42 2012 +0900 @@ -6,12 +6,15 @@ __code loop_print(int count) { printf("loop_print\nhelloWorld\n"); - goto loop0(count); + loop0(count); } void loop0(int count) { printf("loop0\ncount :%d\n", count); + if(count>100) { + return; + } goto loop_print(count+1); return; }