1 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
2 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
4 breakpoint command add -s lua -o 'return false'
6 # CHECK: Process {{[0-9]+}} exited with status = 0
7 breakpoint command add -s lua -o 'print(bacon)'
10 # CHECK: Process {{[0-9]+}} exited with status = 0
11 breakpoint command add -s lua -o "return true"
13 # CHECK: Process {{[0-9]+}} stopped
14 breakpoint command add -s lua -o 'error("my error message")'
16 # CHECK: my error message
17 # CHECK: Process {{[0-9]+}} stopped