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 46bbaab commit 61a9c45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/lean/run/autoparam.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ x + x

def g (x y z : Nat) (h : x = y) : Nat :=
f x y

def f2 (x y : Nat) (h : x = y := by exact rfl) : Nat :=
x + x

#check fun x => f2 x x

0 comments on commit 61a9c45

Please sign in to comment.