; shr on signed values is arithmetic. ; expect: run ; result: -1 ; phase: 0 ; spec: docs/spec/02-types-and-values.md module test.arithmetic_shift air 0 lang 0.1 features [] fn @main() -> i16 effects [] entry: %a = const.i16 -32768 %b = const.i16 15 %c = shr.i16 %a, %b ret %c