• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import lldb
2from lldbsuite.test.decorators import *
3from lldbsuite.test.lldbtest import *
4from lldbsuite.test import lldbutil
5
6class ExprXValuePrintingTestCase(TestBase):
7
8    mydir = TestBase.compute_mydir(__file__)
9
10    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
11    def test(self):
12        """Printing an xvalue should work."""
13        self.build()
14        lldbutil.run_to_source_breakpoint(self, '// Break here', lldb.SBFileSpec("main.cpp"))
15        self.expect_expr("foo().data", result_value="1234")
16