#include #include $input int num; $assume(num > 0 && num < 255); $scope root = $here; void main(){ char c[3]; char * pc; int b = 98; // 'b' pc = (char*)$malloc(root, sizeof(char) * 3); c[0] = num; c[1] = 'a'; c[2] = b - 1; pc[0] = num; pc[1] = b - 1; pc[2] = 97; //test symbolic int to char $assert(c[0] == pc[0]); //test if (char)(b-1) == 'a' $assert(c[1] == pc[1]); //test if (char)(98 - 1) == (char)97 $assert(c[2] == pc[2]); $free(pc); }