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
/
increment.c.in
blob
bfbb22a0550b61aa573e24dc67f7cdc811dd6ca3
1
/** Simple test for increment
2
3
type: signed char, int, long
4
storage: static,
5
attr: volatile
6
*/
7
#include <testfwk.h>
8
9
static void
10
testIncrement
(
void
)
11
{
12
{
attr
} {
storage
} {
type
}
i
;
13
i
=
0
;
14
i
--;
15
ASSERT
(
i
== -
1
);
16
}