// module test_22b2_constraint_declared_via_superclass

class Eq a {
  fn eq(x: a, x1: a) -> Bool
}

class Ord a extends Eq {
  fn lt(x: a, x1: a) -> Bool
}

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