brintos

brintos / llvm-project-archived public Read only

0
0
Text · 435 B · 70ed4a8 Raw
15 lines · python
1import lldb2from lldbsuite.test.decorators import *3from lldbsuite.test.lldbtest import *4from lldbsuite.test import lldbutil5 6 7class ExprXValuePrintingTestCase(TestBase):8    def test(self):9        """Printing an xvalue should work."""10        self.build()11        lldbutil.run_to_source_breakpoint(12            self, "// Break here", lldb.SBFileSpec("main.cpp")13        )14        self.expect_expr("foo().data", result_value="1234")15