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
/
version.c
blob
13791625687c129e0a3be3d63069ef6e7d080969
1
/* Ensure version macros are present
2
*/
3
4
#include <testfwk.h>
5
6
#ifdef __SDCC
7
unsigned int
major
=
__SDCC_VERSION_MAJOR
;
8
unsigned int
minor
=
__SDCC_VERSION_MINOR
;
9
unsigned int
patch
=
__SDCC_VERSION_PATCH
;
10
unsigned int
revision
=
__SDCC_REVISION
;
11
#endif
12
13
void
testVersion
(
void
)
14
{
15
}
16