// module test_22b2_constraint_declared_via_superclass

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

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

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