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
12 class TestCastIntToAnonymousEnum(TestBase):
14 mydir = TestBase.compute_mydir(__file__)
16 def test_cast_int_to_anonymous_enum(self):
19 lldbutil.run_to_source_breakpoint(self, '// break here',
20 lldb.SBFileSpec("main.cpp", False))
22 self.expect("expr (flow_e)0", substrs=['(flow_e) $0 = A'])