Mercurial > hg > CbC > old > device
view test/enum.c @ 465:cdf827b1fcd9
*** empty log message ***
author | kono |
---|---|
date | Tue, 01 Mar 2005 14:54:15 +0900 |
parents | 0c256ea2a97e |
children | 32737bad7489 |
line wrap: on
line source
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; }