#include #include #include #define ASGN(o)\ settype(&t1, 0);\ t2.o = 10;\ t1.sc = t2.o--;\ t1.uc = t2.o--;\ t1.sh = t2.o--;\ t1.uh = t2.o--;\ t1.sl = t2.o--;\ t1.ul = t2.o--;\ t1.ff = t2.o--;\ t1.df = t2.o--;\ t1.sb = t2.o--;\ t1.ub = t2.o--;\ tsttype(&t1, &a1, "o", ""); void postdec(void) { Type a1, t1, t2; print("postdec test\n"); settype(&t2, 0); a1.sc = 10; a1.uc = 9; a1.sh = 8; a1.uh = 7; a1.sl = 6; a1.ul = 5; a1.ff = (float)4; a1.df = (double)3; a1.sb = 2; a1.ub = 1; ASGN(sc); ASGN(uc); ASGN(sh); ASGN(uh); ASGN(sl); ASGN(ul); ASGN(ff); ASGN(df); ASGN(sb); ASGN(ub); settype(&a1, 0); tsttype(&t2, &a1, "", ""); }