aboutsummaryrefslogtreecommitdiff
path: root/lit/Expr/TestCallStopAndContinue.test
diff options
context:
space:
mode:
Diffstat (limited to 'lit/Expr/TestCallStopAndContinue.test')
-rw-r--r--lit/Expr/TestCallStopAndContinue.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/lit/Expr/TestCallStopAndContinue.test b/lit/Expr/TestCallStopAndContinue.test
new file mode 100644
index 000000000000..263fa2a6f59a
--- /dev/null
+++ b/lit/Expr/TestCallStopAndContinue.test
@@ -0,0 +1,12 @@
+# XFAIL: windows
+# -> llvm.org/pr24489
+
+# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -o continue -o "thread list" -- %t 2>&1 | FileCheck %s
+
+breakpoint set --file call-function.cpp --line 52
+run
+breakpoint set --file call-function.cpp --line 14
+expression -i false -- returnsFive()
+# CHECK: Execution was interrupted, reason: breakpoint
+# CHECK: stop reason = User Expression thread plan
+# CHECK: Completed expression: (Five) $0 = (number = 5{{.*}}, name = "five")