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
/
qct
/
0047-anonexport.c
blob
2631df2946f1e53a01f05f5bc5680fbeda4808f5
1
2
typedef
struct
{
3
int
a
;
4
union
{
5
int
b1
;
6
int
b2
;
7
};
8
struct
{
union
{
struct
{
int
c
; };
struct
{}; }; };
9
struct
{};
10
struct
{
11
int
d
;
12
};
13
}
s
;
14
15
int
16
main
()
17
{
18
s v
;
19
20
v
.
a
=
1
;
21
v
.
b1
=
2
;
22
v
.
c
=
3
;
23
v
.
d
=
4
;
24
25
if
(
v
.
a
!=
1
)
26
return
1
;
27
if
(
v
.
b1
!=
2
&&
v
.
b2
!=
2
)
28
return
2
;
29
if
(
v
.
c
!=
3
)
30
return
3
;
31
if
(
v
.
d
!=
4
)
32
return
4
;
33
34
return
0
;
35
}