Mercurial > hg > CbC > old > device
diff test/tmp8.c @ 491:a379da780856
cond signed/unsigned
author | kono |
---|---|
date | Wed, 21 Dec 2005 11:33:53 +0900 |
parents | 32737bad7489 |
children | 0e7281ec9007 |
line wrap: on
line diff
--- a/test/tmp8.c Tue Dec 20 17:25:37 2005 +0900 +++ b/test/tmp8.c Wed Dec 21 11:33:53 2005 +0900 @@ -17,8 +17,8 @@ for(asize=4;asize<64000;asize=asize*2+12) { f2(1); f2(0); - printf("#0017:%d %d\n",g(),f(0,1,2,a)); - printf("#0018:%d %d\n",g1(100),f1(0,1,a,2)); + printf("#0019:%d %d\n",g(),f(0,1,2,a)); + printf("#0020:%d %d\n",g1(100),f1(0,1,a,2)); } return 0; } @@ -57,10 +57,10 @@ int f1(int i,int j,int *l,int k) { - // printf("#0057:f1 &i=%x &k=%x\n",&i,&k); - // printf("#0058:f1 i=%d j=%d *l=%0x k=%d\n",i,j,l,k); + // printf("#0059:f1 &i=%x &k=%x\n",&i,&k); + // printf("#0060:f1 i=%d j=%d *l=%0x k=%d\n",i,j,l,k); *l = 3; - printf("#0060:f1 i=%d j=%d *l=%0x k=%d\n",i,j,*l,k); + printf("#0062:f1 i=%d j=%d *l=%0x k=%d\n",i,j,*l,k); if (i++ >20) return *l; return f1(i,j,(int*)alloca(asize),k); } @@ -73,7 +73,7 @@ l = alloca(asize); else l = 0; - printf("#0073:f2: %0x %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\n", + printf("#0075:f2: %0x %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d\n", // l, 0, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40