Add test for not supported nodes
This commit is contained in:
parent
49136a541d
commit
d11fd7407d
2 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ extern "C" {
|
||||||
#define EQ6 AVAL == BVAL
|
#define EQ6 AVAL == BVAL
|
||||||
|
|
||||||
#define SIZEOF sizeof(char)
|
#define SIZEOF sizeof(char)
|
||||||
|
#define REG_STR "regular string"
|
||||||
|
#define NOTSUPPORTEDSTR "not a " REG_STR
|
||||||
|
|
||||||
#define NULLCHAR '\0'/* comments should not break things*/
|
#define NULLCHAR '\0'/* comments should not break things*/
|
||||||
#define OCTCHAR '\012' // nor should this comment
|
#define OCTCHAR '\012' // nor should this comment
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,8 @@ assert C == 0x10
|
||||||
assert D == "hello"
|
assert D == "hello"
|
||||||
assert E == 'c'
|
assert E == 'c'
|
||||||
|
|
||||||
|
assert not defined(NOTSUPPORTEDSTR)
|
||||||
|
|
||||||
assert UEXPR == (1234.uint shl 1)
|
assert UEXPR == (1234.uint shl 1)
|
||||||
assert ULEXPR == (1234.uint32 shl 2)
|
assert ULEXPR == (1234.uint32 shl 2)
|
||||||
assert ULLEXPR == (1234.uint64 shl 3)
|
assert ULLEXPR == (1234.uint64 shl 3)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue