2 Test Expression Parser regression text to ensure that we handle anonymous
3 enums importing correctly.
8 from lldbsuite
.test
.decorators
import *
9 from lldbsuite
.test
.lldbtest
import *
10 from lldbsuite
.test
import lldbutil
13 class TestCastIntToAnonymousEnum(TestBase
):
14 def test_cast_int_to_anonymous_enum(self
):
17 lldbutil
.run_to_source_breakpoint(
18 self
, "// break here", lldb
.SBFileSpec("main.cpp", False)
21 self
.expect_expr("(flow_e)0", result_type
="flow_e", result_value
="A")