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
/
bug-3387.c
blob
8d03e3e8bbda280b7a94f41b080d422036d492a6
1
/*
2
bug-3387.c
3
SDCC generates invalid opcode JP NZ,(HL)
4
*/
5
6
#include <testfwk.h>
7
8
void
some_func
(
void
)
9
{
10
}
11
12
void
(*
func_list
[])(
void
) = {
some_func
};
13
14
void
testBug
(
void
)
15
{
16
void
(*
p_func
)(
void
) =
func_list
[
0
];
17
if
(
p_func
)
18
p_func
();
19
}