brintos

brintos / llvm-project-archived public Read only

0
0
Text · 341 B · e1f00b9 Raw
12 lines · python
1import lldb2from lldbsuite.test.lldbtest import TestBase3from lldbsuite.test import lldbutil4 5 6class TestCase(TestBase):7    def test(self):8        self.build()9        lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.c"))10        self.expect("p -g", startstr="(int) -41")11        self.expect("p -i0 -g", error=True)12