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
/
bug1888147.c
blob
a9673a919a420e941fdbc7a9e7de736b93581add
1
/*
2
bug 1888147
3
*/
4
5
#include <testfwk.h>
6
7
// no need to call this, it generates compiler error:
8
// Caught signal 11: SIGSEGV
9
int
foo
(
int
n
)
10
{
11
int
i
=
0
;
12
13
if
(
i
!=
0
)
14
return
n
;
15
return
0
;
16
}
17
18
void
19
testBug
(
void
)
20
{
21
ASSERT
(
1
);
22
}