test(lean/run): add overload test

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-06-13 18:06:44 -07:00
parent 48c58af9b5
commit fad4780d72

19
tests/lean/run/t5.lean Normal file
View file

@ -0,0 +1,19 @@
variable N : Type.{1}
namespace foo
variable N : Type.{2}
namespace tst
variable N : Type.{3}
print raw N
end
end
print raw N
namespace foo
print raw N
namespace tst
print raw N N -> N
section
variable N : Type.{4} -- Shadow previous ones.
print raw N
end
end
end