blob: 5424d582074db1808710cf01a2f4c53181dd40dc [file] [edit]
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
@requireExpressionEvaluation
class ExprXValuePrintingTestCase(TestBase):
@expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Printing an xvalue should work."""
self.build()
lldbutil.run_to_source_breakpoint(
self, "// Break here", lldb.SBFileSpec("main.cpp")
)
self.expect_expr("foo().data", result_value="1234")