lean2/tests/lean/run/t5.lean

20 lines
325 B
Text
Raw Normal View History

constant N : Type.{1}
namespace foo
constant N : Type.{2}
namespace tst
constant N : Type.{3}
print raw N
end tst
end foo
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 tst
end foo