0056-enum.c (150B)
1 enum E { 2 x, 3 y = 2, 4 z, 5 }; 6 7 int 8 main() 9 { 10 enum E e; 11 12 if(x != 0) 13 return 1; 14 if(y != 2) 15 return 2; 16 if(z != 3) 17 return 3; 18 19 e = x; 20 return e; 21 } 22
sccsimple c99 compiler | |
git clone git://git.simple-cc.org/scc | |
Log | Files | Refs | Submodules | README | LICENSE |