1// Test CommandObject is cleaned up even after commands fail due to not taking any argument.
2// RUN: %clang_host -g %s -o %t
3// RUN: %lldb -f %t -o "settings set interpreter.stop-command-source-on-error false" -s \
4// RUN: %S/Inputs/cleanup.lldbinit
5int main() { return 0; }
6

source code of lldb/test/Shell/Error/cleanup.cpp