Tests for enum/consts old-style bindings and for static const char; bindings
This commit is contained in:
parent
89bc5576c9
commit
b901979d1c
3 changed files with 28 additions and 0 deletions
|
|
@ -10,8 +10,12 @@ setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i
|
|||
assert(scm.X.PN == 0)
|
||||
assert(scm.X.CN == 1)
|
||||
assert(scm.X.EN == 2)
|
||||
assert(scm.X.CHARTEST == "A")
|
||||
|
||||
-- Old-style bindings
|
||||
assert(scm.X_PN == 0)
|
||||
assert(scm.X_CN == 1)
|
||||
assert(scm.X_EN == 2)
|
||||
assert(scm.X_CHARTEST == "A")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue