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
/
bug3482217.c
blob
db3ce0696186a74dbd676c5ac07287717a45a812
1
/*
2
bug3482217.c
3
*/
4
5
#include <testfwk.h>
6
7
unsigned char
*
p
;
8
9
void
f
()
10
{
11
*
p
++ =
0
;
12
}
13
14
void
testBug
(
void
)
15
{
16
unsigned char
a
[
2
];
17
p
=
a
;
18
f
();
19
ASSERT
(
p
==
a
+
1
);
20
}
21