shift 254 B

123456789101112131415161718192021
  1. void main() {
  2. int a = 1;
  3. a = a << 2;
  4. a <<= 3;
  5. test(a);
  6. a = 100;
  7. a = a >> 2;
  8. a >>= 3;
  9. test(a);
  10. long b = 1L;
  11. b = b << 2L;
  12. b <<= 3L;
  13. test(b);
  14. b = 100L;
  15. b = b >> 2L;
  16. b >>= 3L;
  17. test(b);
  18. }