cbc/test/shortops2.cb

19 lines
246 B
Plaintext

import stdio;
int
main(int argc, char **argv)
{
short i = -1;
i <<= 1;
printf("%hd", i);
i <<= 13;
printf(";%hd", i);
i <<= 1;
printf(";%hd", i);
i <<= 1;
printf(";%hd", i);
puts("");
return 0;
}