; status: design/speculative
; This file intentionally contains an example error shape.
; After top-level `test` support exists, the checked test expression should
; report a structured TypeMismatch diagnostic for this form.

(module diagnostics)

(fn add ((a i32) (b i32)) -> i32
  (+ a b))

(test "bad call example"
  (= (add 3 "hello") 0))
