Mercurial > hg > CbC > old > device
diff test/goto.c @ 573:3de2ae36c7e5 more-strict-error
*** empty log message ***
author | kono |
---|---|
date | Fri, 13 Jan 2006 01:55:33 +0900 |
parents | 388baa7d4bee |
children | 682c8ec38d45 |
line wrap: on
line diff
--- a/test/goto.c Fri Jan 13 01:51:39 2006 +0900 +++ b/test/goto.c Fri Jan 13 01:55:33 2006 +0900 @@ -18,56 +18,56 @@ code a2(int i,code conv()) { - printf("#0028:a2 %d %s\n",i,print_conv(conv)); + printf("#0020:a2 %d %s\n",i,print_conv(conv)); goto conv(i+1,a4); } code a3(int i,code (*conv)()) { - printf("#0035:a3 %d %s\n",i,print_conv(conv)); + printf("#0027:a3 %d %s\n",i,print_conv(conv)); goto conv(i+1,a5); } code a4(int i,code conv()) { - printf("#0042:a4 %d %s\n",i,print_conv(conv)); + printf("#0034:a4 %d %s\n",i,print_conv(conv)); goto (*conv)(i+1,a6); } code a5(int i,code (*conv)()) { - printf("#0049:a5 %d %s\n",i,print_conv(conv)); + printf("#0041:a5 %d %s\n",i,print_conv(conv)); goto (*conv)(i+1,i+2,i+3,a7); } code a6(int i,int j,int k,code conv()) { - printf("#0056:a6 %d %s\n",i,print_conv(conv)); + printf("#0048:a6 %d %s\n",i,print_conv(conv)); goto conv(i+1,j,k,a8); } code a7(int i,,int j,int k,code (*conv)()) { - printf("#0063:a7 %d %s\n",i,print_conv(conv)); + printf("#0055:a7 %d %s\n",i,print_conv(conv)); goto conv(i+1,j,k,a9); } code a8(int i,int j,int k,code conv()) { - printf("#0070:a8 %d %s\n",i,print_conv(conv)); + printf("#0062:a8 %d %s\n",i,print_conv(conv)); goto (*conv)(i+1,j,k,exit0); } code a9(int i,int j,int k,code (*conv)()) { - printf("#0077:a9 %d %s\n",i,print_conv(conv)); + printf("#0069:a9 %d %s\n",i,print_conv(conv)); goto (*conv)(0),env; }