xref: /llvm-project/lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test (revision d853bd7a4e86a50f7d7e6a5f397fcbd1e7d844b4)
1# REQUIRES: lua
2# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
3script
4do
5local a = 123
6print(a)
7end
8# CHECK: 123
9str = 'hello there!'
10function callme()
11print(str)
12end
13callme()
14# CHECK: hello there!
15# CHECK-NOT: error
16