// module test_22b2_constraint_declared_via_superclass

class TEq a {
  fn teq(x: own a, x1: own a) -> own Bool
}

class TOrd a extends TEq {
  fn tlt(x: own a, x1: own a) -> own Bool
}

forall<a> where TOrd a
fn uses_eq_via_ord(x: own a, y: own a) -> own Bool {
  teq(x, y)
}
