Add test for not supported nodes

This commit is contained in:
Joey Yakimowich-Payne 2020-04-23 22:11:39 -06:00
commit d11fd7407d
2 changed files with 4 additions and 0 deletions

View file

@ -34,6 +34,8 @@ extern "C" {
#define EQ6 AVAL == BVAL
#define SIZEOF sizeof(char)
#define REG_STR "regular string"
#define NOTSUPPORTEDSTR "not a " REG_STR
#define NULLCHAR '\0'/* comments should not break things*/
#define OCTCHAR '\012' // nor should this comment

View file

@ -109,6 +109,8 @@ assert C == 0x10
assert D == "hello"
assert E == 'c'
assert not defined(NOTSUPPORTEDSTR)
assert UEXPR == (1234.uint shl 1)
assert ULEXPR == (1234.uint32 shl 2)
assert ULLEXPR == (1234.uint64 shl 3)