aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/expression/pr52257/TestExprCrash.py
blob: de8c7f7b58d4c7e1c857dd5648bc7d765ed9e7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
Verify that LLDB doesn't crash during expression evaluation.
"""

import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil


class ExprCrashTestCase(TestBase):
    def test_pr52257(self):
        self.build()
        self.createTestTarget()
        self.expect_expr(
            "b", result_type="B", result_children=[ValueCheck(name="tag_set_")]
        )