lean2/tests/lua/level2.lua
Leonardo de Moura 4c5f88e63b feat(library/kernel_bindings): global level constructor/accessor/recognizer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-05-07 16:22:45 -07:00

4 lines
100 B
Lua

local u = mk_global_univ("u")
assert(is_level(u))
assert(u:is_global())
assert(u:id() == name("u"))