(module embed_export_adt_ret_rejected
  (data Reading
    (ctor Missing)
    (ctor Sample (con Int) (con Str)))
  (fn f
    (export "f")
    (type
      (fn-type
        (params (own (con Int)))
        (ret (own (con Reading)))))
    (params n)
    (body (term-ctor Reading Sample n "tick"))))
