17 lines · plain
1# RUN: echo quit | %lldb -o "dwim-print a" \2# RUN: | FileCheck %s --strict-whitespace --check-prefix=CHECK13# (lldb) dwim-print a 4# CHECK1:{{^ \^}}5# CHECK1: {{^ error: use of undeclared identifier 'a'}}6# RUN: echo quit | %lldb -o "p a" \7# RUN: | FileCheck %s --strict-whitespace --check-prefix=CHECK28# (lldb) p a 9# CHECK2:{{^ \^}}10# RUN: echo quit | %lldb -o "dwim-print -- a" \11# RUN: | FileCheck %s --strict-whitespace --check-prefix=CHECK312# (lldb) dwim-print -- a 13# CHECK3:{{^ \^}}14# RUN: echo quit | %lldb -o "settings set show-inline-diagnostics false" \15# RUN: -o "dwim-print a" 2>&1 | FileCheck %s --check-prefix=CHECK416# CHECK4: error: <user expression 0>:1:1: use of undeclared identifier17