Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed May 2, 2024
1 parent 61a9c45 commit 2f58949
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lean/run/autoparam.lean
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ f x y
def f2 (x y : Nat) (h : x = y := by exact rfl) : Nat :=
x + x

def f3 (x y : Nat) (h : x = y := by exact Eq.refl x) : Nat :=
x + x

#check fun x => f2 x x
#check fun x => f3 x x

0 comments on commit 2f58949

Please sign in to comment.