Incorrect shift result type with 64-bit ABI
[tinycc/miki.git] / tests2 / 17_enum.c
blob0853c42c0f776137e4aa7b1bb9d452686dd95247
1 #include <stdio.h>
3 enum fred
5 a,
6 b,
7 c,
8 d,
9 e = 54,
10 f = 73,
15 int main()
17 enum fred frod;
19 printf("%d %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g, h);
20 /* printf("%d\n", frod); */
21 frod = 12;
22 printf("%d\n", frod);
23 frod = e;
24 printf("%d\n", frod);
26 return 0;
29 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/