struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / version.c
blob13791625687c129e0a3be3d63069ef6e7d080969
1 /* Ensure version macros are present
2 */
4 #include <testfwk.h>
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
13 void testVersion(void)