mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 05:20:38 +00:00
25 lines
335 B
Lua
25 lines
335 B
Lua
-- This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
print("testing interrupts")
|
|
|
|
function foo()
|
|
for i=1,10 do end
|
|
return
|
|
end
|
|
|
|
foo()
|
|
|
|
function bar()
|
|
local i = 0
|
|
while i < 10 do
|
|
i += i + 1
|
|
end
|
|
end
|
|
|
|
bar()
|
|
|
|
function baz()
|
|
end
|
|
|
|
baz()
|
|
|
|
return "OK"
|