; Division by zero traps. ; expect: run ; trap: T0004 ; phase: 0 ; spec: docs/spec/02-types-and-values.md module test.division_by_zero air 0 lang 0.1 features [] fn @main() -> i32 effects [] entry: %a = const.i32 1 %b = const.i32 0 %c = div.checked.i32 %a, %b ret %c