summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-script-add.test
blob: 5ffada069a610bcaeaa35eb37a58efda118137e8 (plain)
1
2
3
4
5
6
7
8
9
# Test that command script add with no arguments prompts for
# and generates the modern (exe_ctx) version of the command.

# RUN: %lldb < %s | FileCheck %s
command script add doit
print(exe_ctx.target)
DONE
doit
# CHECK: No value