v2 / vlib / v / slow_tests / repl / infix_shift_op.repl
17 lines · 17 sloc · 213 bytes · 48ab08c20608c896cf7d60090437112d5aeb0cf6
Raw
14 >> 1
24 << 1
3println(4 >> 1)
4println(4 << 1)
5typeof(4 >> 1).name
6typeof(4 << 1).name
7println(typeof(4 >> 1).name)
8println(typeof(4 << 1).name)
9===output===
102
118
122
138
14int literal
15int literal
16int literal
17int literal
18