Try fix cast test error

This commit is contained in:
Joey Yakimowich-Payne 2020-04-20 08:45:20 -06:00
commit d082f57ce2
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ extern "C" {
#define BOOL true
#define MATHEXPR (1 + 2/3*20 - 100)
#define ANDEXPR (100 & 11000)
#define CASTEXPR (char) 34
#define CASTEXPR (int) 34
#define NULLCHAR '\0'
#define OCTCHAR '\012'

View file

@ -118,7 +118,7 @@ assert BINEXPR == 5
assert BOOL == true
assert MATHEXPR == -99
assert ANDEXPR == 96
assert CASTEXPR == 34.chr
assert CASTEXPR == 34
assert TRICKYSTR == "N\x1C\nfoo\x00\'\"\c\v\a\b\e\f\t\\\\?bar"
assert NULLCHAR == '\0'