TestExpressionEvaluation.test 698 Bytes
# UNSUPPORTED: system-windows, system-freebsd
# XFAIL: system-netbsd

# Flaky
# UNSUPPORTED: system-linux

# This tests that expression evaluation continues to work when replaying a
# reproducer.

# RUN: rm -rf %t.repro
# RUN: %clangxx_host %S/Inputs/foo.cpp -g -o %t.out

# RUN: %lldb -x -b -s %S/Inputs/ExpressionEvaluation.in --capture --capture-path %t.repro %t.out | FileCheck %s
# RUN: %lldb --replay %t.repro | FileCheck %s

# CHECK: stop reason = breakpoint 1.1
# CHECK: (Foo) $0 = (m_i = 0, m_d = 0)
# CHECK: stop reason = step over
# CHECK: (Foo) $1 = (m_i = 2, m_d = 3)
# CHECK: (Foo) $1 = (m_i = 2, m_d = 3)
# CHECK: (Foo) $2 = (m_i = 3, m_d = 4)
# CHECK: (Foo) $3 = (m_i = 3, m_d = 4)