xref: /llvm-project/lldb/test/API/commands/expression/pr52257/TestExprCrash.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1"""
2Verify that LLDB doesn't crash during expression evaluation.
3"""
4
5import lldb
6from lldbsuite.test.decorators import *
7from lldbsuite.test.lldbtest import *
8from lldbsuite.test import lldbutil
9
10
11class ExprCrashTestCase(TestBase):
12    def test_pr52257(self):
13        self.build()
14        self.createTestTarget()
15        self.expect_expr(
16            "b", result_type="B", result_children=[ValueCheck(name="tag_set_")]
17        )
18