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-2477.c
blob
2c5f2a4ba9d326e223d1e0e35a6eac20b80287a6
1
/*
2
bug-2477.c
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_sdcc99
9
#pragma disable_warning 85
10
#endif
11
12
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13
long long
ss
(
void
)
14
{
15
return
-
1
;
16
}
17
#endif
18
19
void
20
testLongLong
(
void
)
21
{
22
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
23
ASSERT
(
ss
() == -
1
);
24
#endif
25
}
26