test: sorry warning
This commit is contained in:
parent
e2773113a9
commit
8ddde1443c
2 changed files with 5 additions and 0 deletions
4
tests/lean/sorryWarning.lean
Normal file
4
tests/lean/sorryWarning.lean
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
def f (x : Nat) : Nat :=
|
||||
sorry
|
||||
def g (x : Nat) : Nat :=
|
||||
f x
|
||||
1
tests/lean/sorryWarning.lean.expected.out
Normal file
1
tests/lean/sorryWarning.lean.expected.out
Normal file
|
|
@ -0,0 +1 @@
|
|||
sorryWarning.lean:2:2: warning: declaration uses 'sorry'
|
||||
Loading…
Add table
Reference in a new issue