test(kernel/typechecker): type checker
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
516c5c8fea
commit
390f7eaec8
2 changed files with 14 additions and 0 deletions
6
tests/lean/ty2.lean
Normal file
6
tests/lean/ty2.lean
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Definition B : Type := Bool
|
||||||
|
Definition T : Type 1 := Type
|
||||||
|
Variable N : T
|
||||||
|
Variable x : N
|
||||||
|
Variable a : B
|
||||||
|
Axiom H : a
|
8
tests/lean/ty2.lean.expected.out
Normal file
8
tests/lean/ty2.lean.expected.out
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
Set: pp::colors
|
||||||
|
Set: pp::unicode
|
||||||
|
Defined: B
|
||||||
|
Defined: T
|
||||||
|
Assumed: N
|
||||||
|
Assumed: x
|
||||||
|
Assumed: a
|
||||||
|
Assumed: H
|
Loading…
Add table
Reference in a new issue