repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tcc
/
52_unnamed_enum.c
blob
629293d0f980ca2b46c9412e8e8fe3a640a6a41f
1
#include <stdio.h>
2
3
enum
fred
{
a
,
b
,
c
};
4
5
int
main
(
void
)
6
{
7
printf
(
"a=%d
\n
"
,
a
);
8
printf
(
"b=%d
\n
"
,
b
);
9
printf
(
"c=%d
\n
"
,
c
);
10
11
typedef
enum
{
e
,
f
,
g
}
h
;
12
typedef
enum
{
i
,
j
,
k
}
m
;
13
14
printf
(
"e=%d
\n
"
,
e
);
15
printf
(
"f=%d
\n
"
,
f
);
16
printf
(
"g=%d
\n
"
,
g
);
17
18
printf
(
"i=%d
\n
"
,
i
);
19
printf
(
"j=%d
\n
"
,
j
);
20
printf
(
"k=%d
\n
"
,
k
);
21
22
return
0
;
23
}
24
25
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/