test(tests/lean/run/elab_crash1): add new test
This commit is contained in:
parent
582117da96
commit
a1854df9fa
1 changed files with 10 additions and 0 deletions
10
tests/lean/run/elab_crash1.lean
Normal file
10
tests/lean/run/elab_crash1.lean
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
open expr tactic
|
||||
|
||||
example (A : Type) (a : A) : A :=
|
||||
by do to_expr `((sorry : A)) >>= exact
|
||||
|
||||
example (A : Type) (a : A) : A :=
|
||||
by do refine `(sorry)
|
||||
|
||||
example (a : nat) : nat :=
|
||||
by do to_expr `(nat.zero) >>= exact
|
||||
Loading…
Add table
Reference in a new issue