test(tests/lean/run): add section test

This commit is contained in:
Leonardo de Moura 2014-09-11 15:32:50 -07:00
parent 8c11dc1ecd
commit 5cff53c447

View file

@ -0,0 +1,17 @@
import data.nat
section foo
parameter A : Type
definition id (a : A) := a
variable a : nat
check _root_.id nat a
end foo
namespace n1
section foo
parameter A : Type
definition id (a : A) := a
variable a : nat
check n1.id _ a
end foo
end n1