Mercurial > hg > CbC > old > device
view test/cext.c @ 399:9d0015a1fa54
lvar address fix
author | kono |
---|---|
date | Sat, 16 Oct 2004 10:29:51 +0900 |
parents | 41ed77cb9c67 |
children | 0c256ea2a97e |
line wrap: on
line source
unsigned int u; main() { int i,k; unsigned uk; for(i=-3;i<4;i++) { k = (char) i; uk = (unsigned char) i; printf("%d %u\n",k,uk); k = (short) i; uk = (unsigned short) i; printf("%d %u\n",k,uk); } u = (unsigned) -23432; printf("%d\n",u/(8048+5)); return 0; }