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
/
bug3190029.c
blob
1d12e1dd2fece421b0e09f3e4093fe15fc4d76fe
1
/*
2
bug3190029.c
3
*/
4
5
#include <testfwk.h>
6
7
void
bar
(
void
)
8
{
9
}
10
11
/* No need to call this, threw
12
error 20: Undefined identifier 'c' */
13
void
foo
(
void
)
14
{
15
{
16
int
c
;
17
c
=
0
;
//undefined identifier?
18
}
19
(
void
(*)(
void
*))
bar
;
20
}
21
22
void
testBug
(
void
)
23
{
24
ASSERT
(
1
);
25
}