Skip to content

Commit

Permalink
Add test for BC_VARG slot revival
Browse files Browse the repository at this point in the history
  • Loading branch information
corsix committed Oct 19, 2016
1 parent 63a6f7e commit 014708b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/trace/gc64_slot_revival.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@ do --- BC_KNIL
f(nil, nil)
end
end

do --- BC_VARG
local function f() end
local function g(...)
f()
f(...)
end
for i = 1,100 do
g()
end
end

0 comments on commit 014708b

Please sign in to comment.