[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / expression / cast_int_to_anonymous_enum / TestCastIntToAnonymousEnum.py
blob923f021d53399cbbcc7dab6cd2fa5e4e168831d5
1 """
2 Test Expression Parser regression text to ensure that we handle anonymous
3 enums importing correctly.
4 """
7 import lldb
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):
15 self.build()
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")