aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/alias/TestPAlias.py
blob: e1f00b91e01499bf68d822ee1225197e6f88e2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
import lldb
from lldbsuite.test.lldbtest import TestBase
from lldbsuite.test import lldbutil


class TestCase(TestBase):
    def test(self):
        self.build()
        lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.c"))
        self.expect("p -g", startstr="(int) -41")
        self.expect("p -i0 -g", error=True)