-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
-- [matches]
import Base
open Primitives

namespace matches

/- [matches::match_u32]:
   Source: 'tests/src/matches.rs', lines 4:0-4:27 -/
def match_u32 (x : U32) : Result U32 :=
  match x with
  | 0u32 => Result.ok 0u32
  | 1u32 => Result.ok 1u32
  | _ => Result.ok 2u32

end matches
