| # XFAIL: windows |
| # -> llvm.org/pr24489 |
| # REQUIRES: darwin |
| # -> Temporarily disable this test on the Swift Linux builders, due to flakiness (rdar://38378404). |
| |
| # 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") |