Mercurial > hg > CbC > old > device
view test/enum.c @ 468:464e7480395c
*** empty log message ***
author | kono |
---|---|
date | Sat, 30 Jul 2005 16:22:00 +0900 |
parents | 32737bad7489 |
children | a379da780856 |
line wrap: on
line source
int printf(const char *format, ...); enum { a,b,c }; enum aho { a1=3,b1,c1,d1 }; enum aho j = c; const int a2=10; int main() { enum aho i; enum { k=7 }; enum foo { a1=-3,b1,c1 }; i = a1; printf("#0025:%d %d %d\n",k,i,j); i = a2; printf("#0027:%d %d %d %d %d %d %d\n",a,b,a1,b1,d1,a2,i); return 0; }