# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
script
do
local a = 123
print(a)
end
# CHECK: 123
str = 'hello there!'
function callme()
print(str)
end
callme()
# CHECK: hello there!
# CHECK-NOT: error
# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
script
do
local a = 123
print(a)
end
# CHECK: 123
str = 'hello there!'
function callme()
print(str)
end
callme()
# CHECK: hello there!
# CHECK-NOT: error