Mercurial > hg > CbC > old > device
view test/enum.c @ 927:b491db049d74
Added tag current-release for changeset 4e73a22327a8
author | kono |
---|---|
date | Sun, 13 Apr 2014 10:20:02 +0900 |
parents | 5313ed059cee |
children |
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("#0026:%d %d %d\n",k,i,j); i = a2; printf("#0028:%d %d %d %d %d %d %d\n",a,b,a1,b1,d1,a2,i); return 0; }