blob: 70ed4a80927ed95431d832f87e7b11c548006747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class ExprXValuePrintingTestCase(TestBase):
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")
|