repo.or.cz
/
tinycc
/
miki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Incorrect shift result type with 64-bit ABI
[tinycc/miki.git]
/
tests2
/
17_enum.c
blob
0853c42c0f776137e4aa7b1bb9d452686dd95247
1
#include <stdio.h>
2
3
enum
fred
4
{
5
a
,
6
b
,
7
c
,
8
d
,
9
e
=
54
,
10
f
=
73
,
11
g
,
12
h
13
};
14
15
int
main
()
16
{
17
enum
fred frod
;
18
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
);
25
26
return
0
;
27
}
28
29
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/