1typedef short SHORT;
2struct v { SHORT i; };
3void f(struct v *pin, struct v *pout) {
4        if (pin->i == (-0x7fff)-1)
5            pout->i = -pin->i;
6}
7