diff options
Diffstat (limited to 'server-beta/test/diagnostics')
-rw-r--r-- | server-beta/test/diagnostics/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua index 6a5dc57f..2bb99323 100644 --- a/server-beta/test/diagnostics/init.lua +++ b/server-beta/test/diagnostics/init.lua @@ -608,6 +608,16 @@ x = x or -1 ]] TEST [[ +local x +x = x or (0 + 1) +]] + +TEST [[ +local x, y +x = (x + y) or 0 +]] + +TEST [[ local t = {} function t:<!a!>() end |