Mercurial > hg > CbC > old > device
view test/enum.c @ 412:6b3385124e5e arm-self-compile
ARM regsiter var pattern fix.
author | kono |
---|---|
date | Tue, 19 Oct 2004 23:39:42 +0900 |
parents | 427008a06333 |
children | 0c256ea2a97e |
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("%d %d %d\n",k,i,j); i = a2; printf("%d %d %d %d %d %d %d\n",a,b,a1,b1,d1,a2,i); return 0; }