   test "overridable definitions are private" do
     refute {:"with_super (overridable 0)", 0} in Overridable.module_info(:exports)
     refute {:"with_super (overridable 1)", 0} in Overridable.module_info(:exports)
+  end
+
+  test "multiple overrides" do
+    assert Overridable.multiple_overrides() == [3, 2, 1]
   end
 
   test "overridable macros" do


  def many_clauses(x) do
    super(x)
  end

  ## Macros


  def many_clauses(1) do
    13
  end

  def locals do
    undefined_function()
  end

  def multiple_overrides do
    [1]
  end

  def public_to_private do
    :public
  end

  defoverridable sample: 0,
                 with_super: 0,
                 without_super: 0,
                 super_with_multiple_args: 2,
                 many_clauses: 1,
                 locals: 0,
                 multiple_overrides: 0,
                 public_to_private: 0

  true = Module.overridable?(__MODULE__, {:without_super, 0})
  true = Module.overridable?(__MODULE__, {:with_super, 0})
