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
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
bug3303325.c
blob
09b6572320bd27bcc563e3bb154595fcd8f1d3ab
1
/*
2
bug3303325.c
3
*/
4
5
#include <testfwk.h>
6
7
unsigned char
a
;
8
void
f
(
unsigned char
b
)
9
{
10
a
=
b
;
11
}
12
13
void
14
testBug
(
void
)
15
{
16
a
=
1
;
17
f
(
2
);
18
ASSERT
(
a
==
2
);
19
}
20